diff --git a/source/exhumed/src/d_menu.cpp b/source/exhumed/src/d_menu.cpp index 5ad385ba0..87059e203 100644 --- a/source/exhumed/src/d_menu.cpp +++ b/source/exhumed/src/d_menu.cpp @@ -176,7 +176,7 @@ FSavegameInfo GameInterface::GetSaveSig() void GameInterface::DrawMenuCaption(const DVector2& origin, const char* text) { // Fixme: should use the extracted font from the menu items (i.e. BigFont) and a stretched box for the menu items. - DrawText(twod, SmallFont, CR_UNTRANSLATED, 160 - SmallFont->StringWidth(text), 10, text, DTA_FullscreenScale, FSMode_Fit320x200Top, TAG_DONE); + DrawText(twod, SmallFont, CR_UNTRANSLATED, 160 - SmallFont->StringWidth(text)/2, 10, text, DTA_FullscreenScale, FSMode_Fit320x200Top, TAG_DONE); } diff --git a/source/exhumed/src/save.cpp b/source/exhumed/src/save.cpp index 8ba948533..6fd056eb5 100644 --- a/source/exhumed/src/save.cpp +++ b/source/exhumed/src/save.cpp @@ -99,6 +99,7 @@ SavegameHelper::SavegameHelper(const char* name, ...) void SavegameHelper::Load() { auto fr = ReadSavegameChunk(Name); + if (!fr.isOpen()) return; for (auto& entry : Elements) { auto read = fr.Read(entry.first, entry.second);