This commit is contained in:
parent
66b8f87573
commit
a22646985b
14 changed files with 37 additions and 37 deletions
|
@ -367,6 +367,7 @@ void CLevel::initThings(int _respawningLevel)
|
|||
{
|
||||
// Camera lock trigger
|
||||
trigger=(CCameraLockTrigger*)new ("CameraLockTrigger") CCameraLockTrigger();
|
||||
trigger->setThingSubType(0);
|
||||
trigger->init();
|
||||
trigger->setPositionAndSize(TriggerList->Pos.X<<4,TriggerList->Pos.Y<<4,
|
||||
TriggerList->Width<<4,TriggerList->Height<<4);
|
||||
|
@ -417,6 +418,7 @@ void CLevel::initThings(int _respawningLevel)
|
|||
}
|
||||
if(trigger)
|
||||
{
|
||||
trigger->setThingSubType(0);
|
||||
trigger->init();
|
||||
trigger->setPositionAndSize(TriggerList->Pos.X<<4,TriggerList->Pos.Y<<4,
|
||||
TriggerList->Width<<4,TriggerList->Height<<4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue