diff options
Diffstat (limited to 'src/d/d_map.cpp')
| -rw-r--r-- | src/d/d_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_map.cpp b/src/d/d_map.cpp index 885418d9..4d36e41e 100644 --- a/src/d/d_map.cpp +++ b/src/d/d_map.cpp @@ -185,8 +185,7 @@ u32 dMap_RoomInfo_c::getRoomDspFloorNo(u8 i_no, BOOL search) { } /* 80045E54-80045F40 .text init__15dMap_RoomInfo_cFP15dMap_RoomInfo_ci */ -void dMap_RoomInfo_c::init(dMap_RoomInfo_c* prev, int p2) { - /* Nonmatching */ +dMap_RoomInfo_c* dMap_RoomInfo_c::init(dMap_RoomInfo_c* prev, int p2) { m_exist = 0; field_0x1 = 0; for (int i = 0; i < ARRAY_SIZE(field_0x2); i++) @@ -205,6 +204,7 @@ void dMap_RoomInfo_c::init(dMap_RoomInfo_c* prev, int p2) { mStageMapInfoP = NULL; if (prev != NULL) prev->m_next = this; + return this; } /* 80045F40-80046314 .text getRoomImage__15dMap_RoomInfo_cFiUciPP7ResTIMGPP7ResTIMGPP8map_dt_cPP20stage_map_info_classPUc */ |
