1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Video working with 32 bpp. Proper loading of hero on boat. Fixed problems with newly recruited hero blockvis info. Fixed possible crashes.

This commit is contained in:
Michał W. Urbańczyk
2009-08-01 10:08:16 +00:00
parent 3cdff92e42
commit 1f75aeaf34
9 changed files with 113 additions and 42 deletions

View File

@@ -473,6 +473,7 @@ DLL_EXPORT void HeroRecruited::applyGs( CGameState *gs )
h->initHeroDefInfo();
gs->map->heroes.push_back(h);
gs->getPlayer(h->getOwner())->heroes.push_back(h);
h->initObj();
gs->map->addBlockVisTiles(h);
t->visitingHero = h;
h->visitedTown = t;