diff --git a/engine/src/savegame.cpp b/engine/src/savegame.cpp index 6e8d0416c5..574b3ec11c 100644 --- a/engine/src/savegame.cpp +++ b/engine/src/savegame.cpp @@ -481,7 +481,7 @@ void SaveGame::ReadMissionData( char* &buf, bool select_data, const std::set< st vector< float > *vecfloat = 0; bool skip = true; // In rare instances (seen with wonky save game file), - // md_i_size can be < 0, which will cause the reserve call to fail hard + // md_i_size can be < 0, which will cause the reserve call to fail hard. // Add a debug message to explain the issue and point out that the save // game file is broken. if ( md_i_size >= 0 && ( !select_data || select_data_filter.count( mag_num ) ) ) { @@ -491,7 +491,7 @@ void SaveGame::ReadMissionData( char* &buf, bool select_data, const std::set< st skip = false; } else { //debugging attempt -- show why the allocation would fail - vs_dprintf(1, " SaveGame::ReadMissionTringData: vecstring->reserve(md_i_size = %d) will fail, bailing out (i = %d)", md_i_size, i); + vs_dprintf(1, " SaveGame::ReadMissionData: vecstring->reserve(md_i_size = %d) will fail, bailing out (i = %d)", md_i_size, i); } for (int j = 0; j < md_i_size; j++) { if (!skip) {