This commit is contained in:
Paul 2001-04-11 20:59:16 +00:00
parent 5ea56903c9
commit 65d028c0b3
3 changed files with 7 additions and 6 deletions

View file

@ -323,6 +323,10 @@ if(newmode!=-1)
newmode=-1;
}
if(isOnPlatform())
{
shove(m_platform->getPosDelta());
}
for(i=0;i<_frames;i++)
{
// Think
@ -944,7 +948,7 @@ PLAYERINPUT CPlayer::readPadInput()
Params:
Returns:
---------------------------------------------------------------------- */
/*void CPlayer::shove( DVECTOR move )
void CPlayer::shove( DVECTOR move )
{
int colHeight;
@ -1015,7 +1019,7 @@ PLAYERINPUT CPlayer::readPadInput()
// No obstruction
Pos.vy+=move.vy;
}
}*/
}
void CPlayer::setPlatform(CThing *_newPlatform)
{