1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

format fix

This commit is contained in:
Laserlicht
2025-05-19 09:15:39 +02:00
committed by GitHub
parent 507cdb5c99
commit e45acaff3b

View File

@@ -707,7 +707,7 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
words.erase(words.begin());
// VCMI VCMI simple SoD/HotA AB RoE
std::vector<std::string> localCheat = {
std::vector<std::string> localCheats = {
"vcmicolor", "nwcphisherprice",
"vcmigray"
};
@@ -739,7 +739,7 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
"vcmiscrolls"
};
if(vstd::contains(localCheat, cheatName))
if(vstd::contains(localCheats, cheatName))
{
executeCheatCode(cheatName, player, currObj, words);
return true;