mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Apply suggestions from code review
Co-authored-by: Andrey Filipenkov <decapitator@ukr.net>
This commit is contained in:
parent
8f6f9707a6
commit
824aec8416
@ -32,7 +32,7 @@
|
||||
"errors" :
|
||||
{
|
||||
"existingProcess" : "Another vcmiserver process is running, please terminate it first",
|
||||
"modsIncompatibility" : "Mods are required to load game:"
|
||||
"modsIncompatibility" : "Required mods to load game:"
|
||||
}
|
||||
},
|
||||
"systemOptions" :
|
||||
|
@ -396,7 +396,8 @@ public:
|
||||
h & newActiveMods;
|
||||
|
||||
Incompatibility::ModList missingMods;
|
||||
for(auto & m : newActiveMods)
|
||||
for(const auto & m : newActiveMods)
|
||||
|
||||
{
|
||||
CModInfo::Version mver;
|
||||
h & mver;
|
||||
|
@ -316,7 +316,7 @@ struct LobbyShowMessage : public CLobbyPackToPropagate
|
||||
|
||||
void applyOnLobbyScreen(CLobbyScreen * lobby, CServerHandler * handler);
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
template <typename Handler> void serialize(Handler & h, const int version)
|
||||
{
|
||||
h & message;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user