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,6 +2136,8 @@ 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(!isDead())
{
if(platform) if(platform)
{ {
if ( ( (CNpcPlatform *) platform )->isCart() ) if ( ( (CNpcPlatform *) platform )->isCart() )
@ -2143,7 +2145,7 @@ void CPlayer::renderSb(DVECTOR *_pos,int _animNo,int _animFrame)
m_actorGfx->RotateScale( ft4, *_pos, ( (CNpcPlatform *) platform )->getCollisionAngle() , ONE, ONE ); 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();
} }
/*---------------------------------------------------------------------- /*----------------------------------------------------------------------