- after realizing that changing the sector's MOD variable to an FNameNoInit doesn't do anything bad, I just went ahead and got rid of the last place in the engine that still used this data type for internal storage.

This commit is contained in:
Christoph Oelckers 2016-01-05 16:10:04 +01:00
commit 3e13e772ef
4 changed files with 10 additions and 7 deletions

View file

@ -2276,7 +2276,7 @@ FUNC(LS_Sector_SetDamage)
}
}
sectors[secnum].damageamount = (short)arg1;
sectors[secnum].damagemod = (short)arg2;
sectors[secnum].damagetype = MODtoDamageType(arg2);
sectors[secnum].damageinterval = (short)arg3;
sectors[secnum].leakydamage = (short)arg4;
}