mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	| @@ -456,7 +456,7 @@ bool AdventureMapShortcuts::optionHeroSelected() | ||||
| bool AdventureMapShortcuts::optionHeroCanMove() | ||||
| { | ||||
| 	const auto * hero = LOCPLINT->localState->getCurrentHero(); | ||||
| 	return optionInMapView() && hero && hero->movementPointsRemaining() != 0 && LOCPLINT->localState->hasPath(hero); | ||||
| 	return optionInMapView() && hero && LOCPLINT->localState->hasPath(hero) && LOCPLINT->localState->getPath(hero).nextNode().turns == 0; | ||||
| } | ||||
|  | ||||
| bool AdventureMapShortcuts::optionHasNextHero() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user