model id structure is u16

This commit is contained in:
someone2639 authored and farisawan-2000 committed 2021-05-26 18:01:30 -04:00
1 parent b62c4d8431
commit a45f38f06d
2 files changed
+3 -3

No files matched your search

+2 -2
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);
}