summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-02-14 18:11:23 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-02-14 18:11:23 +0100
commit0b6e46b1e420e85a40caf1b2a91e050af51ae4b9 (patch)
tree289d3c5075ed863d75c2edda5be2dd1a745196c7
parentupdate invite link (diff)
downloadre3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar.gz
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar.bz2
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar.lz
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar.xz
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.tar.zst
re3-0b6e46b1e420e85a40caf1b2a91e050af51ae4b9.zip
Diffstat (limited to '')
-rw-r--r--src/render/WaterCannon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/WaterCannon.cpp b/src/render/WaterCannon.cpp
index 5cc9d0b8..3aaa74be 100644
--- a/src/render/WaterCannon.cpp
+++ b/src/render/WaterCannon.cpp
@@ -127,7 +127,7 @@ void CWaterCannon::Render(void)
int16 pointA = m_nCur % NUM_SEGMENTPOINTS;
int16 pointB = pointA - 1;
- if ( (pointA - 1) < 0 )
+ if ( pointB < 0 )
pointB += NUM_SEGMENTPOINTS;
bool bInit = false;