mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 08:11:49 +01:00
cannon fix
This commit is contained in:
parent
b2b243e803
commit
0b6e46b1e4
@ -127,7 +127,7 @@ void CWaterCannon::Render(void)
|
|||||||
int16 pointA = m_nCur % NUM_SEGMENTPOINTS;
|
int16 pointA = m_nCur % NUM_SEGMENTPOINTS;
|
||||||
|
|
||||||
int16 pointB = pointA - 1;
|
int16 pointB = pointA - 1;
|
||||||
if ( (pointA - 1) < 0 )
|
if ( pointB < 0 )
|
||||||
pointB += NUM_SEGMENTPOINTS;
|
pointB += NUM_SEGMENTPOINTS;
|
||||||
|
|
||||||
bool bInit = false;
|
bool bInit = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user