This commit is contained in:
parent
cbf112d17b
commit
8c2034cd84
5 changed files with 42 additions and 6 deletions
|
@ -698,7 +698,10 @@ void CNpcPlatform::collidedWith( CThing *_thisThing )
|
|||
{
|
||||
player->setPlatform( this );
|
||||
|
||||
m_contact = true;
|
||||
if(getHeightFromPlatformAtPosition(playerPos.vx,playerPos.vy)==0)
|
||||
{
|
||||
m_contact = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue