mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Add few more safety checks to network connection logic
This commit is contained in:
@@ -30,7 +30,7 @@ struct DLL_LINKAGE CPack
|
||||
template <typename Handler> void serialize(Handler &h)
|
||||
{
|
||||
logNetwork->error("CPack serialized... this should not happen!");
|
||||
assert(false && "CPack serialized");
|
||||
throw std::runtime_error("CPack serialized... this should not happen!");
|
||||
}
|
||||
|
||||
void applyGs(CGameState * gs)
|
||||
|
||||
Reference in New Issue
Block a user