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:
parent
f8e4aa1d25
commit
a329f607c9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user