mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Merge pull request #1595 from sphericalice/patch-3
Remove unneeded brackets in GetWeekCount
This commit is contained in:
commit
30dbf3f858
@ -932,9 +932,8 @@ u16 GetWeekCount(void)
|
|||||||
{
|
{
|
||||||
u16 weekCount = gLocalTime.days / 7;
|
u16 weekCount = gLocalTime.days / 7;
|
||||||
if (weekCount > 9999)
|
if (weekCount > 9999)
|
||||||
{
|
|
||||||
weekCount = 9999;
|
weekCount = 9999;
|
||||||
}
|
|
||||||
return weekCount;
|
return weekCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user