Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Jul 27, 2024
1 parent 63aecb6 commit 2b4fcbe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/d/d_com_inf_game.h
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ inline void dComIfGs_onSaveArriveGridForAgb(int i_no) {
}

inline BOOL dComIfGs_isSaveArriveGridForAgb(int i_no) {
g_dComIfG_gameInfo.save.getPlayer().getMap().isSaveArriveGridForAgb(i_no);
return g_dComIfG_gameInfo.save.getPlayer().getMap().isSaveArriveGridForAgb(i_no);
}

inline u8 dComIfGs_getArrowNum() {
Expand Down
2 changes: 1 addition & 1 deletion include/d/d_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class dMap_RoomInfo_c {
/* 0x28 */ f32 field_0x28;
/* 0x2C */ f32 field_0x2c;
/* 0x30 */ dMap_2DMtMapSpcl_c field_0x30;
/* 0x44 */ dMap_2DMtMapSpcl_tex_c field_0x44;
/* 0x44 */ dMap_2DMtMapSpcl_tex_c field_0x44[1];
/* 0x8C */ dMap_2DAGBScrDsp_c field_0x8c;
/* 0xC4 */ u32 field_0xc4[0x08];
/* 0xE4 */ dMap_RoomInfo_c* m_next;
Expand Down
8 changes: 4 additions & 4 deletions src/d/d_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ void dMap_RoomInfo_c::init(dMap_RoomInfo_c* prev, int p2) {
field_0x20 = 0.0f;
field_0x24 = 0.0f;
field_0x8c.init(NULL, NULL, 0.0f, 0.0f, 0, 0, 0, 0, 1.0f, 1.0f, 0);
field_0x44.field_0x0[0] = 0;
field_0x30.init(1, &field_0x44);
field_0x44[0].field_0x0[0] = 0;
field_0x30.init(1, &field_0x44[0]);
m_next = NULL;
mStageMapInfoP = NULL;
if (prev != NULL)
Expand Down Expand Up @@ -244,8 +244,8 @@ BOOL dMap_RoomInfo_c::deleteRoom() {
field_0x28 = 0.0f;
field_0x2c = 0.0f;
field_0x8c.init(NULL, NULL, 0.0f, 0.0f, 0, 0, 0, 0, 1.0f, 1.0f, 0);
field_0x44.field_0x0[0] = 0;
field_0x30.init(1, &field_0x44);
field_0x44[0].field_0x0[0] = 0;
field_0x30.init(1, &field_0x44[0]);
return TRUE;
}

Expand Down

0 comments on commit 2b4fcbe

Please sign in to comment.