diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
| commit | 99c78680de41fc627ec5d2737b2639605e87ae32 (patch) | |
| tree | a3e5eb7c03f1de53dc6a0461d88527a6f1b8fd05 /src/d/d_gameover.cpp | |
| parent | 6610bf1d1ca48bacda8fcbe3803a7c3b8c6cf214 (diff) | |
Fix version defines
Diffstat (limited to 'src/d/d_gameover.cpp')
| -rw-r--r-- | src/d/d_gameover.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_gameover.cpp b/src/d/d_gameover.cpp index aab7f24c..adbd7f85 100644 --- a/src/d/d_gameover.cpp +++ b/src/d/d_gameover.cpp @@ -73,7 +73,7 @@ cPhs_State dGameover_c::_create() { if (rt == cPhs_COMPLEATE_e) { dComIfGs_addDeathCount(); dRes_info_c* resInfo = dComIfG_getObjectResInfo("Gover"); - JUT_ASSERT(VERSION_SELECT(0x9c, 0xa0, 0xa0), resInfo != NULL); + JUT_ASSERT(VERSION_SELECT(0x9c, 0x9c, 0xa0, 0xa0), resInfo != NULL); mpHeap = dComIfGp_getExpHeap2D(); dComIfGp_setHeapLockFlag(4); @@ -83,12 +83,12 @@ cPhs_State dGameover_c::_create() { dgo_scrn_c->setScreen("gameover.blo", resInfo->getArchive()); dMs_c = new dMenu_save_c(); - JUT_ASSERT(VERSION_SELECT(0xa7, 0xb6, 0xb6), dMs_c != NULL); + JUT_ASSERT(VERSION_SELECT(0xa7, 0xa7, 0xb6, 0xb6), dMs_c != NULL); dMs_c->setUseType(2); dMs_c->_create(); dgo_capture_c = new dDlst_Gameover_CAPTURE_c(); - JUT_ASSERT(VERSION_SELECT(0xac, 0xbb, 0xbb), dgo_capture_c != NULL); + JUT_ASSERT(VERSION_SELECT(0xac, 0xac, 0xbb, 0xbb), dgo_capture_c != NULL); mDoExt_setCurrentHeap(oldHeap); } else { @@ -186,7 +186,7 @@ BOOL dGameover_c::deleteCheck() { return mState == 6; } -#if VERSION == VERSION_JPN +#if VERSION <= VERSION_JPN static const s16 dGover_tex_number = 8; #else static s16 dGover_tex_number = 8; |
