mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
Update Nullkiller.cpp
No more map-hack on 3rd difficulty-level. Only starting from the fourth.
This commit is contained in:
@@ -62,7 +62,7 @@ bool canUseOpenMap(std::shared_ptr<CCallback> cb, PlayerColor playerID)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return cb->getStartInfo()->difficulty >= 3;
|
||||
}
|
||||
|
||||
void Nullkiller::init(std::shared_ptr<CCallback> cb, AIGateway * gateway)
|
||||
|
||||
Reference in New Issue
Block a user