This commit is contained in:
Charles 2001-06-28 20:55:01 +00:00
parent 89493bb040
commit 1be56accde

View File

@ -1621,8 +1621,8 @@ bool CNpcEnemy::processCoralBlowerMovement( int _frames, s32 xDist, s32 yDist, u
headingToTarget = ratan2( yDist, xDist ); headingToTarget = ratan2( yDist, xDist );
s32 preShiftX = _frames * 3 * rcos( headingToTarget ); s32 preShiftX = _frames * 5 * rcos( headingToTarget );
s32 preShiftY = _frames * 3 * rsin( headingToTarget ); s32 preShiftY = _frames * 5 * rsin( headingToTarget );
moveX = preShiftX >> 12; moveX = preShiftX >> 12;
if ( !moveX && preShiftX ) if ( !moveX && preShiftX )