diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-02-14 18:11:23 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-02-14 18:11:23 +0100 |
commit | 0b6e46b1e420e85a40caf1b2a91e050af51ae4b9 (patch) | |
tree | 289d3c5075ed863d75c2edda5be2dd1a745196c7 | |
parent | update invite link (diff) | |
download | re3-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.cpp | 2 |
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; |