1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-03 23:19:22 +02:00

- fixed modifiers keys behaviour in TextInput

- erm compilation is optional in cmake (too memory-consuming for old systems)
-  minor fixes
This commit is contained in:
Ivan Savenko
2012-08-10 08:49:18 +00:00
parent d3d24d0737
commit d72c44e4c3
7 changed files with 15 additions and 6 deletions

View File

@@ -982,7 +982,7 @@ void CAdvMapInt::select(const CArmedInstance *sel, bool centerView /*= true*/)
assert(sel);
LOCPLINT->cb->setSelection(sel);
selection = sel;
if (LOCPLINT->battleInt == NULL && active & GENERAL)
if (LOCPLINT->battleInt == NULL && LOCPLINT->makingTurn)
{
auto pos = sel->visitablePos();
auto tile = LOCPLINT->cb->getTile(pos);