mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
fix warnings again
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
This commit is contained in:
parent
1e146de393
commit
d3f57ae845
2 changed files with 2 additions and 3 deletions
|
|
@ -502,7 +502,7 @@ static void level_cmd_23(void) {
|
|||
}
|
||||
|
||||
static void level_cmd_init_mario(void) {
|
||||
u32 behaviorArg = CMD_GET(u32, 4);
|
||||
UNUSED u32 behaviorArg = CMD_GET(u32, 4);
|
||||
void* behaviorScript = CMD_GET(void*, 8);
|
||||
u16 slot = CMD_GET(u8, 3);
|
||||
struct GraphNode* unk18 = dynos_model_get_geo(slot);
|
||||
|
|
|
|||
|
|
@ -144,7 +144,6 @@ static void smlua_sync_table_call_hook(int syncTableIndex, int keyIndex, int pre
|
|||
|
||||
// call hook
|
||||
struct Mod* prevActiveMod = gLuaActiveMod;
|
||||
struct ModFile* prevActiveModFile = gLuaActiveModFile;
|
||||
|
||||
gLuaActiveMod = mod;
|
||||
gLuaActiveModFile = NULL;
|
||||
|
|
@ -180,7 +179,7 @@ static bool smlua_sync_table_send_field(u8 toLocalIndex, int stackIndex, bool al
|
|||
}
|
||||
|
||||
// get key
|
||||
struct LSTNetworkType lntKey = smlua_to_lnt(L, keyIndex);
|
||||
smlua_to_lnt(L, keyIndex);
|
||||
if (!gSmLuaConvertSuccess) {
|
||||
LOG_LUA_LINE("Error: tried to alter sync table with an invalid key");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue