mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
* Creatures now guard surrounding tiles.
This commit is contained in:
@@ -342,8 +342,9 @@ void TryMoveHero::applyGs( CGameState *gs )
|
||||
CGHeroInstance *h = gs->getHero(id);
|
||||
h->movement = movePoints;
|
||||
|
||||
if((result == SUCCESS || result == BLOCKING_VISIT || result == EMBARK || result == DISEMBARK) && start != end)
|
||||
if((result == SUCCESS || result == BLOCKING_VISIT || result == EMBARK || result == DISEMBARK) && start != end) {
|
||||
h->moveDir = getDir(start,end);
|
||||
}
|
||||
|
||||
if(result == EMBARK) //hero enters boat at dest tile
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user