diff --git a/source/platform/prbridge.cpp b/source/platform/prbridge.cpp index 326b76c3a..8531ff453 100644 --- a/source/platform/prbridge.cpp +++ b/source/platform/prbridge.cpp @@ -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 );