This commit is contained in:
parent
90e7b63d9e
commit
48896226dc
3 changed files with 65 additions and 3 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue