mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Replace more usages of pointers to packs with references
This commit is contained in:
@@ -1444,8 +1444,8 @@ void CGameHandler::sendToAllClients(CPackForClient * pack)
|
||||
void CGameHandler::sendAndApply(CPackForClient * pack)
|
||||
{
|
||||
sendToAllClients(pack);
|
||||
gs->apply(pack);
|
||||
logNetwork->trace("\tApplied on gs: %s", typeid(*pack).name());
|
||||
gs->apply(*pack);
|
||||
logNetwork->trace("\tApplied on gs: %s", typeid(pack).name());
|
||||
}
|
||||
|
||||
void CGameHandler::sendAndApply(CGarrisonOperationPack * pack)
|
||||
|
||||
Reference in New Issue
Block a user