mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Renamed "Int" -> "Window" in WindowHandler API
This commit is contained in:
@ -209,7 +209,7 @@ bool MapViewController::isEventVisible(const CGObjectInstance * obj)
|
||||
if(!LOCPLINT->makingTurn && settings["adventure"]["enemyMoveTime"].Float() < 0)
|
||||
return false; // enemy move speed set to "hidden/none"
|
||||
|
||||
if(GH.windows().topInt() != adventureInt)
|
||||
if(GH.windows().topWindow() != adventureInt)
|
||||
return false;
|
||||
|
||||
if(obj->isVisitable())
|
||||
@ -226,7 +226,7 @@ bool MapViewController::isEventVisible(const CGHeroInstance * obj, const int3 &
|
||||
if(!LOCPLINT->makingTurn && settings["adventure"]["enemyMoveTime"].Float() < 0)
|
||||
return false; // enemy move speed set to "hidden/none"
|
||||
|
||||
if(GH.windows().topInt() != adventureInt)
|
||||
if(GH.windows().topWindow() != adventureInt)
|
||||
return false;
|
||||
|
||||
if(context->isVisible(obj->convertToVisitablePos(from)))
|
||||
|
Reference in New Issue
Block a user