This commit is contained in:
Paul 2001-08-04 19:16:11 +00:00
parent 8c23d3721e
commit b55079c261
4 changed files with 48 additions and 2 deletions

View file

@ -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;
}