This commit is contained in:
parent
7bb3c7353e
commit
579cb15a9d
20 changed files with 71 additions and 71 deletions
|
@ -56,8 +56,8 @@ void CNpcTrapdoorPlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
|||
PntList++;
|
||||
|
||||
DVECTOR startPos;
|
||||
startPos.vx = newXPos << 4;
|
||||
startPos.vy = newYPos << 4;
|
||||
startPos.vx = ( newXPos << 4 ) + 8;
|
||||
startPos.vy = ( newYPos << 4 ) + 16;
|
||||
|
||||
Pos = startPos;
|
||||
m_base = Pos;
|
||||
|
@ -71,7 +71,7 @@ void CNpcTrapdoorPlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
|||
newYPos = (u16) *PntList;
|
||||
PntList++;
|
||||
|
||||
if ( ( newXPos << 4 ) > m_base.vx )
|
||||
if ( ( ( newXPos << 4 ) + 8 ) > m_base.vx )
|
||||
{
|
||||
m_pointRight = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue