Skip to content

Commit

Permalink
Add additional parameters to DumpState
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushutchings committed Jan 9, 2024
1 parent 29e0d83 commit baab478
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rts/System/Sync/DumpState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include "Game/GameSetup.h"
#include "Game/GlobalUnsynced.h"
#include "Game/GameVersion.h"
#include "Net/GameServer.h"
#include "Rendering/Models/3DModel.h"
#include "Rendering/Models/IModelParser.h"
Expand Down Expand Up @@ -147,6 +148,8 @@ void DumpState(int newMinFrameNum, int newMaxFrameNum, int newFramePeriod, std::
file << "maxFrame: " << gMaxFrameNum << "\n";
file << "randSeed: " << gsRNG.GetLastSeed() << "\n";
file << "initSeed: " << gsRNG.GetInitSeed() << "\n";
file << " gameID: " << gameSetup->gameID << "\n";
file << " syncVer: " << SpringVersion::GetSync() << "\n";
}

LOG("[%s] using dump-file \"%s\"", __func__, name.c_str());
Expand Down

0 comments on commit baab478

Please sign in to comment.