Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[Vanilla Bug] Fix crash when `InfantryClass::Take_Damage` is called with a null warhead

Open Rampastring opened this issue 3 years ago • 1 comments

Description:

InfantryClass::Take_Damage does not check if the warhead parameter is null. In some cases it can be called with a null warhead, which leads to a crash.

Additional Files:

Fixed in CnCNet ts-patches: https://github.com/CnCNet/ts-patches/blob/master/src/mods/fix_infantryclass_take_damage_null_warhead_crash.asm

Rampastring avatar May 13 '21 19:05 Rampastring