This commit is contained in:
Charles 2001-07-12 14:56:06 +00:00
parent 925fb63545
commit 0a4b00d5b9
5 changed files with 12 additions and 1 deletions

View File

@ -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);

View File

@ -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 )

View File

@ -22,6 +22,7 @@ class CNpcBouncingRockHazard : public CNpcBouncingBarrelHazard
{
public:
void init();
void render();
void setWaypoints( sThingHazard *ThisHazard );
void trigger();
protected: