From 80ada6fdbbf23039ab80f6d4dc2592974a2d8d75 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 19 Jun 2001 20:32:30 +0000 Subject: [PATCH] --- source/hazard/hbwheel.cpp | 4 ++-- source/hazard/hbwheel.h | 2 +- source/platform/pbwheel.cpp | 4 ++-- source/platform/pbwheel.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/hazard/hbwheel.cpp b/source/hazard/hbwheel.cpp index 5241279fa..3158fdc9f 100644 --- a/source/hazard/hbwheel.cpp +++ b/source/hazard/hbwheel.cpp @@ -79,7 +79,7 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing ) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -/*const CRECT *CNpcBigWheelHazard::getThinkBBox() +const CRECT *CNpcBigWheelHazard::getThinkBBox() { CRECT objThinkBox = getCollisionArea(); @@ -90,4 +90,4 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing ) objThinkBox.y2 = thinkBBox.YMax; return &objThinkBox; -}*/ \ No newline at end of file +} \ No newline at end of file diff --git a/source/hazard/hbwheel.h b/source/hazard/hbwheel.h index 410287d17..bb6944704 100644 --- a/source/hazard/hbwheel.h +++ b/source/hazard/hbwheel.h @@ -23,7 +23,7 @@ class CNpcBigWheelHazard : public CNpcHazard public: void init(); virtual void render(); - //virtual CRECT const *getThinkBBox(); + virtual CRECT const *getThinkBBox(); protected: void processMovement( int _frames ); virtual void collidedWith(CThing *_thisThing); diff --git a/source/platform/pbwheel.cpp b/source/platform/pbwheel.cpp index ce92db96f..26cf03b71 100644 --- a/source/platform/pbwheel.cpp +++ b/source/platform/pbwheel.cpp @@ -98,7 +98,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform ) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -/*const CRECT *CNpcBigWheelPlatform::getThinkBBox() +const CRECT *CNpcBigWheelPlatform::getThinkBBox() { CRECT objThinkBox = getCollisionArea(); @@ -109,7 +109,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform ) objThinkBox.y2 = thinkBBox.YMax; return &objThinkBox; -}*/ +} //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/source/platform/pbwheel.h b/source/platform/pbwheel.h index 0527689ab..969dcb40b 100644 --- a/source/platform/pbwheel.h +++ b/source/platform/pbwheel.h @@ -21,7 +21,7 @@ class CNpcBigWheelPlatform : public CNpcPlatform { public: - //virtual CRECT const *getThinkBBox(); + virtual CRECT const *getThinkBBox(); virtual void postInit(); virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0); protected: