1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:00:00 +00:00

cannon fix

This commit is contained in:
Fire-Head 2021-02-14 20:11:58 +03:00
parent 3d90a146d8
commit 0681fe3eca

View file

@ -132,7 +132,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;