mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-06 00:24:11 +02:00
Fixed #445
This commit is contained in:
parent
963c93551f
commit
3af3785c00
@ -1248,7 +1248,7 @@ void CGDwelling::initObj()
|
|||||||
creatures[0].second.push_back(crid);
|
creatures[0].second.push_back(crid);
|
||||||
hoverName = VLC->generaltexth->creGens[subID];
|
hoverName = VLC->generaltexth->creGens[subID];
|
||||||
if(crs->level > 4)
|
if(crs->level > 4)
|
||||||
addStack(0, CStackInstance(crs, (8 - crs->level) * 3));
|
addStack(0, CStackInstance(crs, (crs->growth) * 3));
|
||||||
if (getOwner() != 255)
|
if (getOwner() != 255)
|
||||||
cb->gameState()->players[getOwner()].dwellings.push_back (this);
|
cb->gameState()->players[getOwner()].dwellings.push_back (this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user