forked from 0ad/0ad
Fix const attribute for some function parameters.
This was SVN commit r16730.
This commit is contained in:
parent
ce19d55176
commit
2457b69fb3
@ -241,7 +241,7 @@ void CNetTurnManager::OnSyncError(u32 turn, const std::string& expectedHash)
|
||||
DisplayOOSError(turn, hash, expectedHashHex, false, &path);
|
||||
}
|
||||
|
||||
void CNetTurnManager::DisplayOOSError(u32 turn, std::string& hash, const std::string& expectedHash, const bool isReplay, OsPath* path = NULL)
|
||||
void CNetTurnManager::DisplayOOSError(u32 turn, const std::string& hash, const std::string& expectedHash, bool isReplay, OsPath* path = NULL)
|
||||
{
|
||||
m_HasSyncError = true;
|
||||
|
||||
|
@ -112,7 +112,7 @@ public:
|
||||
/**
|
||||
* Shows a message box when an out of sync error has been detected in the session or visual replay.
|
||||
*/
|
||||
virtual void DisplayOOSError(u32 turn, std::string& hash, const std::string& expectedHash, const bool isReplay, OsPath* path);
|
||||
virtual void DisplayOOSError(u32 turn, const std::string& hash, const std::string& expectedHash, bool isReplay, OsPath* path);
|
||||
|
||||
/**
|
||||
* Called by simulation code, to add a new command to be distributed to all clients and executed soon.
|
||||
|
Loading…
Reference in New Issue
Block a user