1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 00:40:16 +00:00

Add comments and macros to prevent match issues with formatting

This commit is contained in:
Roman971 2020-03-18 22:18:25 +01:00
parent 0704beba8d
commit 251aea64ab
9 changed files with 33 additions and 20 deletions

View file

@ -110,11 +110,8 @@ void func_8097C930(DemoGo* this)
s16* something = &this->unk_192;
s16* other = &this->unk_190;
s32 pad[3];
s16 phi_v0;
if (*something == 0) { phi_v0 = 0; } else { *something -= 1; phi_v0 = *something;}
if (phi_v0 == 0)
if (DECR(*something) == 0)
{
*something = Math_Rand_S16Offset(0x3C, 0x3C);
}