Skip to content

Commit 7f65849

Browse files
committed
review fixes
1 parent 411b39b commit 7f65849

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Client/game_sa/CWeatherSA.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,20 +232,15 @@ bool CWeatherSA::ResetRainbow()
232232
bool CWeatherSA::SetTimerCycle(bool value) noexcept
233233
{
234234
if (value)
235-
{
236235
MemSet((void*)0x53BFBD, 0x90, 5);
237-
}
238236
else
239-
{
240237
MemCpy((void*)0x53BFBD, "\xE8\x4E\x0F\xFF\xFF", 5);
241-
}
238+
242239
m_bTimeCycleFrozen = value;
243240
return true;
244241
}
245242

246243
bool CWeatherSA::ResetTimerCycle() noexcept
247244
{
248-
SetTimerCycle(0);
249-
m_bTimeCycleFrozen = false;
250-
return true;
245+
return SetTimerCycle(false);
251246
}

0 commit comments

Comments
 (0)