diff --git a/Graphics/levels/Chapter03/Level02/Level02.MEX b/Graphics/levels/Chapter03/Level02/Level02.MEX index 5855db80c..a6b6f6e34 100644 Binary files a/Graphics/levels/Chapter03/Level02/Level02.MEX and b/Graphics/levels/Chapter03/Level02/Level02.MEX differ diff --git a/Graphics/levels/Chapter03/Level02/Level02.Mep b/Graphics/levels/Chapter03/Level02/Level02.Mep index 63fa8fa1c..501b7965e 100644 Binary files a/Graphics/levels/Chapter03/Level02/Level02.Mep and b/Graphics/levels/Chapter03/Level02/Level02.Mep differ diff --git a/source/hazard/hbbarrel.h b/source/hazard/hbbarrel.h index f12fc9779..97d96d7ca 100644 --- a/source/hazard/hbbarrel.h +++ b/source/hazard/hbbarrel.h @@ -22,7 +22,7 @@ class CNpcBouncingBarrelHazard : public CNpcHazard { public: void init(); - void render(); + virtual void render(); protected: void processMovement( int _frames ); void collidedWith(CThing *_thisThing); diff --git a/source/hazard/hbrock.cpp b/source/hazard/hbrock.cpp index a90a66c86..29c55760b 100644 --- a/source/hazard/hbrock.cpp +++ b/source/hazard/hbrock.cpp @@ -91,6 +91,16 @@ void CNpcBouncingRockHazard::setWaypoints( sThingHazard *ThisHazard ) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void CNpcBouncingRockHazard::render() +{ + if ( m_isTriggered ) + { + CNpcBouncingBarrelHazard::render(); + } +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void CNpcBouncingRockHazard::processMovement( int _frames ) { if ( m_isTriggered ) diff --git a/source/hazard/hbrock.h b/source/hazard/hbrock.h index 52dae4afe..79f646f45 100644 --- a/source/hazard/hbrock.h +++ b/source/hazard/hbrock.h @@ -22,6 +22,7 @@ class CNpcBouncingRockHazard : public CNpcBouncingBarrelHazard { public: void init(); + void render(); void setWaypoints( sThingHazard *ThisHazard ); void trigger(); protected: