diff --git a/source/hazard/hspikes.cpp b/source/hazard/hspikes.cpp index 8122c4683..651116412 100644 --- a/source/hazard/hspikes.cpp +++ b/source/hazard/hspikes.cpp @@ -95,7 +95,7 @@ void CNpcSpikesHazard::processMovement( int _frames ) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -/*const CRECT *CNpcSpikesHazard::getThinkBBox() +const CRECT *CNpcSpikesHazard::getThinkBBox() { CRECT objThinkBox = getCollisionArea(); @@ -106,7 +106,7 @@ void CNpcSpikesHazard::processMovement( int _frames ) objThinkBox.y2 = thinkBBox.YMax; return &objThinkBox; -}*/ +} //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/source/hazard/hspikes.h b/source/hazard/hspikes.h index 5c3160d19..bf4b85270 100644 --- a/source/hazard/hspikes.h +++ b/source/hazard/hspikes.h @@ -22,7 +22,7 @@ class CNpcSpikesHazard : public CNpcHazard { public: void init(); - //virtual CRECT const *getThinkBBox(); + virtual CRECT const *getThinkBBox(); protected: virtual void processTimer( int _frames ); void processMovement( int _frames );