1
0
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:
Michał W. Urbańczyk 2009-04-14 14:26:58 +00:00
parent f3ffeea72e
commit d2e1c8d782

View File

@ -1602,6 +1602,12 @@ void CAdvMapInt::select(const CArmedInstance *sel )
townList.selected = pos;
terrain.currentPath = NULL;
}
else
{
int pos = heroList.getPosOfHero(sel);
heroList.selected = pos;
terrain.currentPath = heroList.items[pos].second;
}
townList.draw(screen);
heroList.draw(screen);
infoBar.draw(screen);