|
@@ -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);
|