This commit is contained in:
parent
1d3fa934f6
commit
45686c5885
2 changed files with 8 additions and 4 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,8 @@ void CPlayerModeDead::enter()
|
||||||
CSoundMediator::stopSpeech();
|
CSoundMediator::stopSpeech();
|
||||||
|
|
||||||
m_killed=false;
|
m_killed=false;
|
||||||
|
|
||||||
|
m_player->clearPlatform();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue