forked from Mirrors/openclonk
Fixed possible access of a removed zap (#1665).
parent
6bdbc5b5c7
commit
e6093ee2fc
|
@ -115,6 +115,8 @@ private func Enrage(proplist coordinates)
|
|||
{
|
||||
if (!enrage_target)
|
||||
CheckTarget();
|
||||
if (!this)
|
||||
return false;
|
||||
if (!enrage_target)
|
||||
return false;
|
||||
if (ObjectDistance(enrage_target) < 10)
|
||||
|
|
Loading…
Reference in New Issue