mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove AsMoneyEffect
This commit is contained in:
parent
bee424585a
commit
7ba795e96c
|
@ -23,16 +23,6 @@ template<> bool SpriteBase::Is<MoneyEffect>() const
|
|||
return sprite_identifier == SPRITE_IDENTIFIER_MISC && type == SPRITE_MISC_MONEY_EFFECT;
|
||||
}
|
||||
|
||||
MoneyEffect* rct_sprite::AsMoneyEffect()
|
||||
{
|
||||
MoneyEffect* result = nullptr;
|
||||
if (generic.Is<MoneyEffect>())
|
||||
{
|
||||
result = reinterpret_cast<MoneyEffect*>(this);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x0067351F
|
||||
|
|
|
@ -137,7 +137,6 @@ union rct_sprite
|
|||
CrashSplashParticle crash_splash;
|
||||
SteamParticle steam_particle;
|
||||
|
||||
MoneyEffect* AsMoneyEffect();
|
||||
Peep* AsPeep();
|
||||
// Default constructor to prevent non trivial construction issues
|
||||
rct_sprite()
|
||||
|
|
Loading…
Reference in New Issue