From 7984af7fde22ffd413a26b4ea1502c45f4981044 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Thu, 28 Mar 2019 18:24:06 +0500 Subject: [PATCH] Fixed missing space in save loading stage description on loading screen Also made source_count const --- src/xrGame/alife_storage_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrGame/alife_storage_manager.cpp b/src/xrGame/alife_storage_manager.cpp index a1ca37458f1..40e09b374ce 100644 --- a/src/xrGame/alife_storage_manager.cpp +++ b/src/xrGame/alife_storage_manager.cpp @@ -193,7 +193,7 @@ bool CALifeStorageManager::load(LPCSTR save_name_no_check) string512 temp; strconcat(sizeof(temp), temp, StringTable().translate("st_loading_saved_game").c_str(), - "\"", save_name,SAVE_EXTENSION, "\""); + " \"", save_name,SAVE_EXTENSION, "\""); g_pGamePersistent->SetLoadStageTitle(temp); g_pGamePersistent->LoadTitle(); @@ -201,7 +201,7 @@ bool CALifeStorageManager::load(LPCSTR save_name_no_check) unload(); reload(m_section); - u32 source_count = stream->r_u32(); + const u32 source_count = stream->r_u32(); void* source_data = xr_malloc(source_count); rtc_decompress(source_data, source_count, stream->pointer(), stream->length() - 3 * sizeof(u32)); FS.r_close(stream);