Skip to content

Commit 05abb50

Browse files
committed
nit: GameState::xferSaveData - prefix added for consistency
1 parent 641a3c8 commit 05abb50

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
@@ -1362,7 +1362,7 @@ void GameState::xferSaveData( Xfer *xfer, SnapshotType which )
13621362
// get block name
13631363
blockName = blockInfo->blockName;
13641364

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

13671367
//
13681368
// 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
@@ -1363,12 +1363,12 @@ 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
// Skip blocks with nullptr snapshot (can happen in headless mode)
13691369
if( blockInfo->snapshot == nullptr )
13701370
{
1371-
DEBUG_LOG(("Skipping block '%s' because snapshot is nullptr", blockName.str()));
1371+
DEBUG_LOG(("GameState::xferSaveData - Skipping block '%s' because snapshot is nullptr", blockName.str()));
13721372
continue;
13731373
}
13741374

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

0 commit comments

Comments
 (0)