This commit is contained in:
parent
3e85e3fb21
commit
0700ee58fe
11 changed files with 69 additions and 22 deletions
|
@ -55,7 +55,9 @@ void CTeleportTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
ASSERT(_thisThing->getThingType()==TYPE_PLAYER);
|
||||
|
||||
((CPlayer*)_thisThing)->teleportTo(TargetPos.vx+8,TargetPos.vy+16);
|
||||
((CPlayer*)_thisThing)->teleportTo(m_boxX1+8,m_boxY1+16);
|
||||
|
||||
PAUL_DBGMSG("HIT TELEPORT TRIGGER");
|
||||
}
|
||||
|
||||
/*===========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue