diff options
author | aap <aap@papnet.eu> | 2020-05-28 18:53:54 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-31 17:05:59 +0200 |
commit | 00dc86917eca1b6628446f8a3f80f15855050d2c (patch) | |
tree | 5607da9b69166e6c143e860f63fcf3d8e9dc5886 /src/render | |
parent | gahhh (diff) | |
download | re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar.gz re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar.bz2 re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar.lz re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar.xz re3-00dc86917eca1b6628446f8a3f80f15855050d2c.tar.zst re3-00dc86917eca1b6628446f8a3f80f15855050d2c.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Renderer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 6ac10cb0..f2f55b92 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -269,10 +269,8 @@ CRenderer::RenderBoats(void) for(node = gSortedVehiclesAndPeds.tail.prev; node != &gSortedVehiclesAndPeds.head; node = node->prev){ - // only boats in this list CVehicle *v = (CVehicle*)node->item.ent; - if(v->IsBoat()) - RenderOneNonRoad(v); + RenderOneNonRoad(v); } } |