mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
format fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user