1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Attempt to fix headless tests crash.

This commit is contained in:
AlexVinS
2017-07-12 17:02:25 +03:00
parent a9c10633ab
commit 2c525fc76e
4 changed files with 13 additions and 3 deletions

View File

@@ -775,7 +775,7 @@ void EndAction::applyCl(CClient *cl)
void PackageApplied::applyCl(CClient *cl)
{
INTERFACE_CALL_IF_PRESENT(player, requestRealized, this);
if(!cl->waitingRequest.tryRemovingElement(requestID))
if(!CClient::waitingRequest.tryRemovingElement(requestID))
logNetwork->warnStream() << "Surprising server message!";
}