(i think) fix an assertion

This commit is contained in:
Tim Felgentreff 2022-07-26 21:24:21 +02:00
parent cce87a51d2
commit 538dc024bb

View file

@ -377,7 +377,7 @@ extern int ExtraDeathIndex(const char *death);
*/
void CUnit::RefsIncrease()
{
Assert(Refs && !Destroyed);
Assert(!Refs || (Refs && !Destroyed));
if (!SaveGameLoading) {
++Refs;
}