mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed #730:
* crash on +5 growth week * crash on spawning wandering creatures on double growth months (how come that has not been found in previous build?) More logging for #729-like issues.
This commit is contained in:
@ -476,6 +476,8 @@ DLL_EXPORT void NewObject::applyGs( CGameState *gs )
|
||||
cre->notGrowingTeam = cre->neverFlees = 0;
|
||||
cre->character = 2;
|
||||
cre->gainedArtifact = -1;
|
||||
cre->identifier = -1;
|
||||
cre->addToSlot(0, new CStackInstance(-1, -1)); //add placeholder stack
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user