This commit is contained in:
Paul 2001-08-17 15:04:17 +00:00
parent 1d3fa934f6
commit 45686c5885
2 changed files with 8 additions and 4 deletions

View File

@ -2136,14 +2136,16 @@ void CPlayer::renderSb(DVECTOR *_pos,int _animNo,int _animFrame)
ft4=m_actorGfx->Render(*_pos,_animNo,_animFrame,m_facing==FACING_RIGHT?0:1); ft4=m_actorGfx->Render(*_pos,_animNo,_animFrame,m_facing==FACING_RIGHT?0:1);
CThing *platform; CThing *platform;
platform=isOnPlatform(); platform=isOnPlatform();
if(platform) if(!isDead())
{ {
if ( ( (CNpcPlatform *) platform )->isCart() ) if(platform)
{ {
m_actorGfx->RotateScale( ft4, *_pos, ( (CNpcPlatform *) platform )->getCollisionAngle() , ONE, ONE ); if ( ( (CNpcPlatform *) platform )->isCart() )
{
m_actorGfx->RotateScale( ft4, *_pos, ( (CNpcPlatform *) platform )->getCollisionAngle() , ONE, ONE );
}
} }
} }
setSemiTrans(ft4,trans); setSemiTrans(ft4,trans);

View File

@ -93,6 +93,8 @@ void CPlayerModeDead::enter()
CSoundMediator::stopSpeech(); CSoundMediator::stopSpeech();
m_killed=false; m_killed=false;
m_player->clearPlatform();
} }
/*---------------------------------------------------------------------- /*----------------------------------------------------------------------