This commit is contained in:
parent
8bd03a35ff
commit
dcdbc83daf
@ -468,7 +468,6 @@ CNpcPlatform *CNpcPlatform::Create(int Type)
|
|||||||
case NPC_PLAYER_BUBBLE_PLATFORM:
|
case NPC_PLAYER_BUBBLE_PLATFORM:
|
||||||
{
|
{
|
||||||
platform = new ("player bubble platform") CNpcPlayerBubblePlatform;
|
platform = new ("player bubble platform") CNpcPlayerBubblePlatform;
|
||||||
platform->setGraphic( (u8) 0 );
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -187,6 +187,7 @@ void CPlayerModeBubbleMixture::think()
|
|||||||
pos=m_player->getPos();
|
pos=m_player->getPos();
|
||||||
pos.vx+=buboff.vx*m_player->getFacing();
|
pos.vx+=buboff.vx*m_player->getFacing();
|
||||||
pos.vy+=buboff.vy;
|
pos.vy+=buboff.vy;
|
||||||
|
bubble->setGraphic( (u8) 0 );
|
||||||
bubble->init(pos,4);
|
bubble->init(pos,4);
|
||||||
bubble->postInit();
|
bubble->postInit();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user