(i think) fix an assertion
This commit is contained in:
parent
cce87a51d2
commit
538dc024bb
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ extern int ExtraDeathIndex(const char *death);
|
|||
*/
|
||||
void CUnit::RefsIncrease()
|
||||
{
|
||||
Assert(Refs && !Destroyed);
|
||||
Assert(!Refs || (Refs && !Destroyed));
|
||||
if (!SaveGameLoading) {
|
||||
++Refs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue