This commit is contained in:
parent
8c23d3721e
commit
b55079c261
4 changed files with 48 additions and 2 deletions
|
@ -84,8 +84,11 @@ void CTeleportTrigger::collidedWith(CThing *_thisThing)
|
|||
}
|
||||
}
|
||||
|
||||
((CPlayer*)_thisThing)->clearPlatform();
|
||||
((CPlayer*)_thisThing)->teleportTo(m_boxX1+8,m_boxY1+16);
|
||||
if(GameScene.triggerTeleportEffect())
|
||||
{
|
||||
((CPlayer*)_thisThing)->clearPlatform();
|
||||
((CPlayer*)_thisThing)->teleportTo(m_boxX1+8,m_boxY1+16);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue