Decompile currentPlayerIsAutoMoveCentreEnabled

This commit is contained in:
Ryan Dwyer 2020-04-05 23:45:52 +10:00
parent e61783bf67
commit 2c421e62c9
1 changed files with 4 additions and 7 deletions

View File

@ -55,13 +55,10 @@ void currentPlayerSetAutoMoveCentreEnabled(bool enabled)
g_Vars.currentplayer->automovecentreenabled = enabled;
}
GLOBAL_ASM(
glabel func0f0c7a10
/* f0c7a10: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0c7a14: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0c7a18: 03e00008 */ jr $ra
/* f0c7a1c: 8dc20114 */ lw $v0,0x114($t6)
);
bool currentPlayerIsAutoMoveCentreEnabled(void)
{
return g_Vars.currentplayer->automovecentreenabled;
}
void currentPlayerSetAutoAimY(bool enabled)
{