diff --git a/src/openrct2/world/MoneyEffect.cpp b/src/openrct2/world/MoneyEffect.cpp index 85e328b805..149231c19d 100644 --- a/src/openrct2/world/MoneyEffect.cpp +++ b/src/openrct2/world/MoneyEffect.cpp @@ -29,7 +29,7 @@ template<> bool SpriteBase::Is() const * * rct2: 0x0067351F */ -void MoneyEffect::CreateAt(money32 value, const CoordsXYZ& effectPos, bool vertical) +void MoneyEffect::CreateAt(money64 value, const CoordsXYZ& effectPos, bool vertical) { if (value == MONEY(0, 00)) return; @@ -63,7 +63,7 @@ void MoneyEffect::CreateAt(money32 value, const CoordsXYZ& effectPos, bool verti * * rct2: 0x0069C5D0 */ -void MoneyEffect::Create(money32 value, const CoordsXYZ& loc) +void MoneyEffect::Create(money64 value, const CoordsXYZ& loc) { auto offsetLoc = loc; if (loc.isNull()) diff --git a/src/openrct2/world/MoneyEffect.h b/src/openrct2/world/MoneyEffect.h index ba6aa34c81..bd48992c51 100644 --- a/src/openrct2/world/MoneyEffect.h +++ b/src/openrct2/world/MoneyEffect.h @@ -20,13 +20,13 @@ struct MoneyEffect : MiscEntity uint16_t MoveDelay; uint8_t NumMovements; uint8_t Vertical; - money32 Value; + money64 Value; int16_t OffsetX; uint16_t Wiggle; - static void CreateAt(money32 value, const CoordsXYZ& effectPos, bool vertical); - static void Create(money32 value, const CoordsXYZ& loc); + static void CreateAt(money64 value, const CoordsXYZ& effectPos, bool vertical); + static void Create(money64 value, const CoordsXYZ& loc); void Update(); - std::pair GetStringId() const; + std::pair GetStringId() const; void Serialise(DataSerialiser& stream); };