1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Treasure piles can now cover several tiles.

This commit is contained in:
DjWarmonger
2014-06-05 17:19:11 +02:00
parent c470b9606b
commit e54c816c92
5 changed files with 109 additions and 48 deletions

View File

@ -124,6 +124,8 @@ DLL_LINKAGE void HeroVisitCastle::applyGs( CGameState *gs )
CGHeroInstance *h = gs->getHero(hid);
CGTownInstance *t = gs->getTown(tid);
assert(h);
assert(t);
if(start())
t->setVisitingHero(h);
else