mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
* pressing enter or escape close spellbook
* spellbook shows adventure spells when opened on adventure map * removed redundant quotation marks from skills description * erasing path after picking objects with last movement point
This commit is contained in:
@@ -241,7 +241,7 @@ void TryMoveHero::applyGs( CGameState *gs )
|
||||
{
|
||||
CGHeroInstance *h = gs->getHero(id);
|
||||
h->movement = movePoints;
|
||||
if(start!=end && result)
|
||||
if(start!=end && (result == SUCCESS || result == TELEPORTATION))
|
||||
{
|
||||
gs->map->removeBlockVisTiles(h);
|
||||
h->pos = end;
|
||||
|
||||
Reference in New Issue
Block a user