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