1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

hint about disabled cheats for nullkiller

This commit is contained in:
Laserlicht 2024-05-15 00:18:14 +02:00 committed by GitHub
parent 8b59b78003
commit e9b2159c0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();