This commit is contained in:
Charles 2001-05-14 15:48:34 +00:00
parent cd451daab6
commit 2f03cdf648
3 changed files with 6 additions and 6 deletions

View file

@ -1484,7 +1484,7 @@ void CNpcEnemy::processUserCollision( CThing *thisThing )
s16 headingFromTarget = ratan2( yDist, xDist );
if ( ( xDist > 0 && otherDelta.vx < 0 ) || ( xDist < 0 && otherDelta.vx > 0 ) )
/*if ( ( xDist > 0 && otherDelta.vx < 0 ) || ( xDist < 0 && otherDelta.vx > 0 ) )
{
otherDelta.vx = -otherDelta.vx;
}
@ -1505,7 +1505,7 @@ void CNpcEnemy::processUserCollision( CThing *thisThing )
else
{
Pos.vy += otherDelta.vy;
}
}*/
m_heading = headingFromTarget;