1
0
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:
Nordsoft91 2022-09-24 13:03:46 +04:00 committed by GitHub
parent 8f6f9707a6
commit 824aec8416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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" :

View File

@ -396,7 +396,8 @@ public:
h & newActiveMods;
Incompatibility::ModList missingMods;
for(auto & m : newActiveMods)
for(const auto & m : newActiveMods)
{
CModInfo::Version mver;
h & mver;

View File

@ -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;
}