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