This commit is contained in:
Daveo 2001-05-29 22:12:54 +00:00
parent de1a2220c2
commit 8083cec571

View file

@ -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 );