CRhinoWallImpact::Move

This commit is contained in:
krystalgamer 2024-07-30 17:03:26 +02:00
parent 88cb1f3ef6
commit 1c3fa54771
2 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,17 @@
extern i32 CurrentSuit;
// @Ok
void CRhinoWallImpact::Move(void)
{
if (++this->field_C >= 200)
{
Bit_ReduceRGB(&this->mTint, 1);
if (!(0xFFFFFF & this->mTint))
this->Die();
}
}
// @Ok
CRhinoWallImpact::~CRhinoWallImpact(void)
{

View File

@ -13,6 +13,8 @@ class CRhinoWallImpact : public CQuadBit
public:
EXPORT CRhinoWallImpact(SLineInfo*);
EXPORT virtual ~CRhinoWallImpact(void);
EXPORT virtual void Move(void);
u8 padBottom[4];
};