This commit is contained in:
parent
adee4b97be
commit
5177f930ff
2 changed files with 18 additions and 2 deletions
|
@ -97,6 +97,15 @@ void CNpcBubblePlatform::processMovement( int _frames )
|
|||
m_pop = true;
|
||||
}
|
||||
}
|
||||
|
||||
DVECTOR offset = CLevel::getCameraPos();
|
||||
|
||||
s32 yPos = Pos.vy - offset.vy;
|
||||
|
||||
if ( yPos < 0 )
|
||||
{
|
||||
setToShutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue