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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user