mirror of
https://github.com/zeldaret/tmc
synced 2026-06-03 18:36:43 -04:00
clang-format
This commit is contained in:
+3
-4
@@ -7,16 +7,15 @@ void ModRupees(s32 rupeeDelta)
|
||||
|
||||
{
|
||||
s32 newRupeeCount;
|
||||
Stats *s = &gStats;
|
||||
Stats* s = &gStats;
|
||||
|
||||
newRupeeCount = s->rupees + rupeeDelta;
|
||||
if (newRupeeCount < 0) {
|
||||
newRupeeCount = 0;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (newRupeeCount > gWalletSizes[s->walletType * 2]) {
|
||||
newRupeeCount = gWalletSizes[s->walletType * 2];
|
||||
}
|
||||
}
|
||||
s->rupees = newRupeeCount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user