Skip to content

Commit 52f4074

Browse files
committed
nit: GameState::xferSaveData - prefix added for consistency
1 parent 7dd0a99 commit 52f4074

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • GeneralsMD/Code/GameEngine/Source/Common/System/SaveGame
  • Generals/Code/GameEngine/Source/Common/System/SaveGame

Generals/Code/GameEngine/Source/Common/System/SaveGame/GameState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ void GameState::xferSaveData( Xfer *xfer, SnapshotType which )
13631363
// get block name
13641364
blockName = blockInfo->blockName;
13651365

1366-
DEBUG_LOG(("Looking at block '%s'", blockName.str()));
1366+
DEBUG_LOG(("GameState::xferSaveData - Looking at block '%s'", blockName.str()));
13671367

13681368
//
13691369
// for mission save files, we only save the game state block and campaign manager

GeneralsMD/Code/GameEngine/Source/Common/System/SaveGame/GameState.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,12 +1364,12 @@ void GameState::xferSaveData( Xfer *xfer, SnapshotType which )
13641364
// get block name
13651365
blockName = blockInfo->blockName;
13661366

1367-
DEBUG_LOG(("Looking at block '%s'", blockName.str()));
1367+
DEBUG_LOG(("GameState::xferSaveData - Looking at block '%s'", blockName.str()));
13681368

13691369
// Skip blocks with nullptr snapshot (can happen in headless mode)
13701370
if( blockInfo->snapshot == nullptr )
13711371
{
1372-
DEBUG_LOG(("Skipping block '%s' because snapshot is nullptr", blockName.str()));
1372+
DEBUG_LOG(("GameState::xferSaveData - Skipping block '%s' because snapshot is nullptr", blockName.str()));
13731373
continue;
13741374
}
13751375

@@ -1466,7 +1466,7 @@ void GameState::xferSaveData( Xfer *xfer, SnapshotType which )
14661466
// Skip blocks with nullptr snapshot (can happen in headless mode)
14671467
if( blockInfo->snapshot == nullptr )
14681468
{
1469-
DEBUG_LOG(("Skipping block '%s' because snapshot is nullptr", blockInfo->blockName.str()));
1469+
DEBUG_LOG(("GameState::xferSaveData - Skipping block '%s' because snapshot is nullptr", blockInfo->blockName.str()));
14701470
Int dataSize = xfer->beginBlock();
14711471
xfer->skip( dataSize );
14721472
continue;

0 commit comments

Comments
 (0)