mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Merge pull request #20525 from optimumtact/dropdelloops
Prevent infinite loops with DROPDEL items and del_on_death simple mobs
This commit is contained in:
@@ -305,6 +305,9 @@
|
||||
if(del_on_death)
|
||||
ghostize()
|
||||
stat = DEAD
|
||||
//Prevent infinite loops if the mob Destroy() is overriden in such
|
||||
//a manner as to cause a call to death() again
|
||||
del_on_death = FALSE
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user