mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Uh... fix for previous fix :/
This commit is contained in:
parent
f3ffeea72e
commit
d2e1c8d782
@ -1602,6 +1602,12 @@ void CAdvMapInt::select(const CArmedInstance *sel )
|
|||||||
townList.selected = pos;
|
townList.selected = pos;
|
||||||
terrain.currentPath = NULL;
|
terrain.currentPath = NULL;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int pos = heroList.getPosOfHero(sel);
|
||||||
|
heroList.selected = pos;
|
||||||
|
terrain.currentPath = heroList.items[pos].second;
|
||||||
|
}
|
||||||
townList.draw(screen);
|
townList.draw(screen);
|
||||||
heroList.draw(screen);
|
heroList.draw(screen);
|
||||||
infoBar.draw(screen);
|
infoBar.draw(screen);
|
||||||
|
Loading…
Reference in New Issue
Block a user