From 2460074bd4efe3ef0ff5192118728826be33cd80 Mon Sep 17 00:00:00 2001 From: Daveo Date: Tue, 29 May 2001 23:03:29 +0000 Subject: [PATCH] --- source/platform/prbridge.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/platform/prbridge.cpp b/source/platform/prbridge.cpp index 8531ff453..577e8ec32 100644 --- a/source/platform/prbridge.cpp +++ b/source/platform/prbridge.cpp @@ -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) -// trigger = new ("PlatformTrigger") CPlatformTrigger(); - trigger=(CPlatformTrigger*)CTrigger::Create(CTrigger::TRIGGER_PLATFORM); + trigger = new ("PlatformTrigger") CPlatformTrigger(); +// trigger=(CPlatformTrigger*)CTrigger::Create(CTrigger::TRIGGER_PLATFORM); trigger->init(); trigger->setThingSubType(0); trigger->setPositionAndSize( newXPos << 4, newYPos << 4, 100, 0 );