diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-05-08 19:11:20 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-05-08 19:11:20 -0400 |
| commit | af61ba5f0a7826ad3e8f8da16441188266b79cdb (patch) | |
| tree | 9ec025440aa65151c91b26bdda3637d2ceec54cf /src/d/d_stage.cpp | |
| parent | 86465eb2d1bf704f2b345c23aeda1af6b43a7608 (diff) | |
d_a_player_tact work
Diffstat (limited to 'src/d/d_stage.cpp')
| -rw-r--r-- | src/d/d_stage.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/d/d_stage.cpp b/src/d/d_stage.cpp index f12cfda3..c7ccf936 100644 --- a/src/d/d_stage.cpp +++ b/src/d/d_stage.cpp @@ -1842,18 +1842,13 @@ bool dStage_setShipPos(int param_0, int i_roomNo) { dComIfGp_setShipRoomId(0xFF); } - // g_dComIfG_gameInfo.save.getTurnRestart().field_0x34 probably an inline, idk which though - dComIfG_inf_c& gameinfo = g_dComIfG_gameInfo; // fakematch - if (dComIfGp_getStartStagePoint() == -3 && - g_dComIfG_gameInfo.save.getTurnRestart().field_0x34 != 0) - { + if (dComIfGp_getStartStagePoint() == -3 && dComIfGs_getTurnRestartHasShip()) { daShip_c* ship_p = (daShip_c*)fopAcM_SearchByName(PROC_SHIP); if (ship_p != NULL) { - ship_p->initStartPos(&gameinfo.save.getTurnRestart().getShipPos(), - dComIfGs_getTurnRestartShipAngleY()); + ship_p->initStartPos(&dComIfGs_getTurnRestartShipPos(), dComIfGs_getTurnRestartShipAngleY()); } - g_dComIfG_gameInfo.save.getTurnRestart().field_0x34 = 0; + dComIfGs_setTurnRestartHasShip(FALSE); } if (param_0 != 0xFF) { |
