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);
|
||||
CThing *platform;
|
||||
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);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue