1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Pandora and events work as rewardable object

This commit is contained in:
nordsoft
2023-09-15 15:29:41 +02:00
parent 06f01c3b82
commit c1c13cfafb
7 changed files with 236 additions and 475 deletions

View File

@ -271,7 +271,6 @@ void CRewardableObject::newTurn(CRandomGenerator & rand) const
void CRewardableObject::initObj(CRandomGenerator & rand)
{
VLC->objtypeh->getHandlerFor(ID, subID)->configureObject(this, rand);
assert(!configuration.info.empty());
}
CRewardableObject::CRewardableObject()