This commit is contained in:
parent
30272803d0
commit
25de06c1a6
21 changed files with 595 additions and 41 deletions
|
@ -57,11 +57,20 @@ void CCameraLockTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
CPlayer::CameraBox camBox={m_boxX1,m_boxY1,m_boxX2,m_boxY2};
|
||||
|
||||
ASSERT(_thisThing->getThingType()==TYPE_PLAYER);
|
||||
|
||||
((CPlayer*)_thisThing)->setCameraBox(camBox);
|
||||
switch( _thisThing->getThingType() )
|
||||
{
|
||||
case TYPE_PLAYER:
|
||||
{
|
||||
((CPlayer*)_thisThing)->setCameraBox(camBox);
|
||||
|
||||
PAUL_DBGMSG("HIT CAM BOX TRIGGER");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*===========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue