1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00

Update Nullkiller.cpp

No more map-hack on 3rd difficulty-level. Only starting from the fourth.
This commit is contained in:
Xilmi 2024-09-09 23:23:28 +02:00
parent f8e4aa1d25
commit a329f607c9

View File

@ -62,7 +62,7 @@ bool canUseOpenMap(std::shared_ptr<CCallback> cb, PlayerColor playerID)
return false; return false;
} }
return true; return cb->getStartInfo()->difficulty >= 3;
} }
void Nullkiller::init(std::shared_ptr<CCallback> cb, AIGateway * gateway) void Nullkiller::init(std::shared_ptr<CCallback> cb, AIGateway * gateway)