浏览代码

format fix

Laserlicht 5 月之前
父节点
当前提交
e45acaff3b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      server/processors/PlayerMessageProcessor.cpp

+ 3 - 3
server/processors/PlayerMessageProcessor.cpp

@@ -706,8 +706,8 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
 	std::string cheatName = boost::to_lower_copy(words[0]);
 	words.erase(words.begin());
 
-	//  VCMI                       VCMI simple        SoD/HotA                   AB                    RoE
-	std::vector<std::string> localCheat = {
+	//	VCMI                       VCMI simple        SoD/HotA                   AB                    RoE
+	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;