1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

fix button condition

This commit is contained in:
Laserlicht
2025-10-02 21:49:51 +02:00
parent 076f7ba5b5
commit fc00774277
3 changed files with 1 additions and 8 deletions

View File

@@ -665,12 +665,6 @@ bool AdventureMapShortcuts::optionMarketplace()
return false;
}
bool AdventureMapShortcuts::optionHeroGround()
{
const CGHeroInstance *hero = GAME->interface()->localState->getCurrentHero();
return optionInMapView() && hero && !hero->inBoat();
}
bool AdventureMapShortcuts::optionHeroBoat(EPathfindingLayer layer)
{
const CGHeroInstance *hero = GAME->interface()->localState->getCurrentHero();