mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Change gDateMonthsElapsed type to int32_t
This commit is contained in:
@@ -37,16 +37,16 @@ namespace OpenRCT2::Scripting
|
||||
}
|
||||
|
||||
private:
|
||||
uint32_t monthsElapsed_get() const
|
||||
int32_t monthsElapsed_get() const
|
||||
{
|
||||
const auto& date = GetDate();
|
||||
return date.GetMonthsElapsed();
|
||||
}
|
||||
|
||||
void monthsElapsed_set(uint32_t value)
|
||||
void monthsElapsed_set(int32_t value)
|
||||
{
|
||||
ThrowIfGameStateNotMutable();
|
||||
gDateMonthsElapsed = value;
|
||||
gDateMonthsElapsed = static_cast<int32_t>(value);
|
||||
}
|
||||
|
||||
uint32_t monthProgress_get() const
|
||||
|
||||
Reference in New Issue
Block a user