3.0 Prerelease 128 2025-08-17
Downloads:
Bug Fixes
ZScript
- make owned objects live as long as the sprite owner
104fc490e
The
Own
functions on sprite objects (npc, ffc, itemsprite, weapons) are documented as assigning the object's owner to the sprite. However, they were actually being "owned" by the sprite's script, so in the case where a script ends before a sprite is destroyed, the object lost its owner a little earlier than expected. - mark screen enemies loaded on
Screen->SpawnScreenEnemies()
85eabd569
The script spawning function did not mark enemies as loaded, so if called on the first frame of a screen the normal enemy spawning code would run right after, which spawned enemies twice.
regressed 6b5e98d (z3)