1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00
This commit is contained in:
DjWarmonger 2010-06-28 17:49:15 +00:00
parent 963c93551f
commit 3af3785c00

View File

@ -1248,7 +1248,7 @@ void CGDwelling::initObj()
creatures[0].second.push_back(crid);
hoverName = VLC->generaltexth->creGens[subID];
if(crs->level > 4)
addStack(0, CStackInstance(crs, (8 - crs->level) * 3));
addStack(0, CStackInstance(crs, (crs->growth) * 3));
if (getOwner() != 255)
cb->gameState()->players[getOwner()].dwellings.push_back (this);
}