This commit is contained in:
parent
1742c2c018
commit
2460074bd4
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ void CNpcRisingBridgePlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
||||||
CPlatformTrigger *trigger = NULL; // I hate having to do this just to keep the compiler quiet :/ (pkg)
|
CPlatformTrigger *trigger = NULL; // I hate having to do this just to keep the compiler quiet :/ (pkg)
|
||||||
|
|
||||||
|
|
||||||
// trigger = new ("PlatformTrigger") CPlatformTrigger();
|
trigger = new ("PlatformTrigger") CPlatformTrigger();
|
||||||
trigger=(CPlatformTrigger*)CTrigger::Create(CTrigger::TRIGGER_PLATFORM);
|
// trigger=(CPlatformTrigger*)CTrigger::Create(CTrigger::TRIGGER_PLATFORM);
|
||||||
trigger->init();
|
trigger->init();
|
||||||
trigger->setThingSubType(0);
|
trigger->setThingSubType(0);
|
||||||
trigger->setPositionAndSize( newXPos << 4, newYPos << 4, 100, 0 );
|
trigger->setPositionAndSize( newXPos << 4, newYPos << 4, 100, 0 );
|
||||||
|
|
Loading…
Add table
Reference in a new issue