summaryrefslogtreecommitdiff
path: root/src/d/d_menu_save.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-12-10 08:46:19 -0800
committerGitHub <noreply@github.com>2024-12-10 18:46:19 +0200
commit8d73439554beb2b4870b86159aa2e676357792b7 (patch)
treef146d56805cdbbf0ee01412b66d328396d2b0305 /src/d/d_menu_save.cpp
parent3fa6b50e6ab76f8d6fed3c92a70084db2f0e221e (diff)
tbox/camera/d_bg_w_kcol work and cleanup (#2262)
* some camera/tbox cleanup * d_bg_w_kcol work * make item name enum better
Diffstat (limited to 'src/d/d_menu_save.cpp')
-rw-r--r--src/d/d_menu_save.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_menu_save.cpp b/src/d/d_menu_save.cpp
index b363aa019b..c6965a7248 100644
--- a/src/d/d_menu_save.cpp
+++ b/src/d/d_menu_save.cpp
@@ -1601,8 +1601,8 @@ void dMenu_save_c::restartInit() {
dComIfGs_offEventBit(dSv_event_flag_c::saveBitLabels[225]); // Monkey dropped lantern
}
- if (dComIfGs_isItemFirstBit(KANTERA) && dComIfGs_getItem(SLOT_1, true) == NO_ITEM) {
- dComIfGs_setItem(SLOT_1, KANTERA);
+ if (dComIfGs_isItemFirstBit(fpcNm_ITEM_KANTERA) && dComIfGs_getItem(SLOT_1, true) == fpcNm_ITEM_NONE) {
+ dComIfGs_setItem(SLOT_1, fpcNm_ITEM_KANTERA);
dComIfGs_setOil(dMeter2Info_getOilGaugeBackUp());
}