1
0
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:
Michał W. Urbańczyk
2009-07-03 19:57:14 +00:00
parent 38f8745777
commit 2f73b6cd1e
14 changed files with 101 additions and 79 deletions

View File

@@ -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;