model id structure is u16
This commit is contained in:
1 parent
b62c4d8431
commit
a45f38f06d
2 files changed
+3
-3
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user