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:
@@ -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!";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user