Skip to content

Commit

Permalink
Fixed missing space in save loading stage description on loading screen
Browse files Browse the repository at this point in the history
Also made source_count const
  • Loading branch information
Xottab-DUTY committed Apr 2, 2019
1 parent 673ce46 commit 7984af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrGame/alife_storage_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ 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();

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);
Expand Down

0 comments on commit 7984af7

Please sign in to comment.