Remove AsMoneyEffect

This commit is contained in:
duncanspumpkin 2020-06-06 10:45:10 +01:00
parent bee424585a
commit 7ba795e96c
2 changed files with 0 additions and 11 deletions

View File

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

View File

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