DamageMobj can destroy the damaged actor if the death state sequence has zero duration. But Actor.target is a garbage collected member variable, i.e. it will be null, once the actor it points to gets destroyed. This was originally done correctly in the C++ code but during the scriptification all those 'AActor *target = self->target' lines were removed because they looked redundant, but were not. |
||
|---|---|---|
| .. | ||
| arachnotron.txt | ||
| archvile.txt | ||
| bossbrain.txt | ||
| bruiser.txt | ||
| cacodemon.txt | ||
| cyberdemon.txt | ||
| deadthings.txt | ||
| demon.txt | ||
| doomammo.txt | ||
| doomarmor.txt | ||
| doomartifacts.txt | ||
| doomdecorations.txt | ||
| doomhealth.txt | ||
| doomimp.txt | ||
| doomkeys.txt | ||
| doommisc.txt | ||
| doomplayer.txt | ||
| doomweapons.txt | ||
| fatso.txt | ||
| keen.txt | ||
| lostsoul.txt | ||
| painelemental.txt | ||
| possessed.txt | ||
| revenant.txt | ||
| scriptedmarine.txt | ||
| spidermaster.txt | ||
| stealthmonsters.txt | ||
| weaponbfg.txt | ||
| weaponchaingun.txt | ||
| weaponchainsaw.txt | ||
| weaponfist.txt | ||
| weaponpistol.txt | ||
| weaponplasma.txt | ||
| weaponrlaunch.txt | ||
| weaponshotgun.txt | ||
| weaponssg.txt | ||