浏览代码

hint about disabled cheats for nullkiller

Laserlicht 1 年之前
父节点
当前提交
e9b2159c0a
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      AI/Nullkiller/AIGateway.cpp

+ 4 - 1
AI/Nullkiller/AIGateway.cpp

@@ -828,7 +828,10 @@ void AIGateway::makeTurn()
 	boost::shared_lock<boost::shared_mutex> gsLock(CGameState::mutex);
 	setThreadName("AIGateway::makeTurn");
 
-	cb->sendMessage("vcmieagles");
+	if(cb->getStartInfo()->extraOptionsInfo.cheatsAllowed)
+		cb->sendMessage("vcmieagles");
+	else
+		cb->sendMessage("Nullkiller AI currently requires the ability to cheat in order to function correctly! Please enable!");
 
 	retrieveVisitableObjs();