mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-09 01:06:07 +02:00
- added check to avoid recursion in AI town building code
- restored previously missing AI shield during AI turn
This commit is contained in:
@ -627,6 +627,9 @@ void CMinimap::setAIRadar(bool on)
|
||||
vstd::clear_pointer(aiShield);
|
||||
update();
|
||||
}
|
||||
// this my happen during AI turn when this interface is inactive
|
||||
// force redraw in order to properly update interface
|
||||
GH.totalRedraw();
|
||||
}
|
||||
|
||||
void CMinimap::hideTile(const int3 &pos)
|
||||
|
Reference in New Issue
Block a user