diff --git a/Source/DiabloUI/selhero.cpp b/Source/DiabloUI/selhero.cpp index e2f1d65bc..32d14b83f 100644 --- a/Source/DiabloUI/selhero.cpp +++ b/Source/DiabloUI/selhero.cpp @@ -460,7 +460,7 @@ void selhero_Init() SDL_Rect rect13 = { (Sint16)(PANEL_LEFT + 159), (Sint16)(UI_OFFSET_Y + 422), 40, 21 }; vecSelHeroDialog.push_back(std::make_unique(textStats[4], rect13, UiFlags::AlignCenter | UiFlags::FontSize12 | UiFlags::ColorUiSilverDark)); -#if _DEBUG +#ifdef _DEBUG SDL_Rect rect14 = { (Sint16)(PANEL_LEFT + 39), (Sint16)(UI_OFFSET_Y + 443), 110, 21 }; vecSelHeroDialog.push_back(std::make_unique(_("Savegame:").c_str(), rect14, UiFlags::AlignRight | UiFlags::FontSize12 | UiFlags::ColorUiSilverDark)); SDL_Rect rect15 = { (Sint16)(PANEL_LEFT + 159), (Sint16)(UI_OFFSET_Y + 443), 40, 21 }; diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 78e151760..24c5f9138 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -2173,7 +2173,7 @@ void LoadGameLevel(bool firstflag, lvl_entry lvldir) [[maybe_unused]] uint32_t mid3Seed = GetLCGEngineState(); InitMissiles(); InitCorpses(); -#if _DEBUG +#ifdef _DEBUG SetDebugLevelSeedInfos(mid1Seed, mid2Seed, mid3Seed, GetLCGEngineState()); #endif