mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Add new setting for instant adventure map fade in / fadeout effects
This commit is contained in:
@ -269,6 +269,9 @@ void MapViewController::afterRender()
|
||||
|
||||
bool MapViewController::isEventInstant(const CGObjectInstance * obj, const PlayerColor & initiator)
|
||||
{
|
||||
if(settings["gameTweaks"]["skipAdventureMapAnimations"].Bool())
|
||||
return true;
|
||||
|
||||
if (!isEventVisible(obj, initiator))
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user