This commit is contained in:
parent
925fb63545
commit
0a4b00d5b9
Binary file not shown.
Binary file not shown.
@ -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);
|
||||
|
@ -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 )
|
||||
|
@ -22,6 +22,7 @@ class CNpcBouncingRockHazard : public CNpcBouncingBarrelHazard
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
void render();
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void trigger();
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user