This commit is contained in:
Charles 2001-02-12 20:03:44 +00:00
parent 90e7b63d9e
commit 48896226dc
3 changed files with 65 additions and 3 deletions

View file

@ -102,5 +102,5 @@ void CNpc::processGenericGetUserDist( int _frames, s32 *distX, s32 *distY )
bool CNpc::isCollisionWithGround()
{
ASSERT(m_layerCollision);
return m_layerCollision->Get(Pos.vx>>4,Pos.vy>>4);
return m_layerCollision->Get( Pos.vx >> 4, ( Pos.vy + 1 ) >>4 );
}