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:
@ -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
|
||||
|
Reference in New Issue
Block a user