model id structure is u16

This commit is contained in:
someone2639
2021-05-26 16:35:17 -04:00
committed by farisawan-2000
parent b62c4d8431
commit a45f38f06d
2 changed files with 3 additions and 3 deletions

View File

@@ -388,10 +388,10 @@ static void level_cmd_load_model_from_dl(void) {
}
static void level_cmd_load_model_from_geo(void) {
s16 arg0 = CMD_GET(s16, 2);
u16 arg0 = CMD_GET(u16, 2);
void *arg1 = CMD_GET(void *, 4);
if (arg0 < 256) {
if (arg0 < 65536) {
gLoadedGraphNodes[arg0] = process_geo_layout(sLevelPool, arg1);
}

View File

@@ -23,7 +23,7 @@
#include "level_table.h"
struct SpawnInfo gPlayerSpawnInfos[1];
struct GraphNode *D_8033A160[0x100];
struct GraphNode *D_8033A160[0x10000];
struct Area gAreaData[8];
struct WarpTransition gWarpTransition;