idk but this func crashes often enough
This commit is contained in:
1 parent
1a0bb18de7
commit
ee8f937866
1 file changed
+4
@@ -2378,6 +2378,10 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||
if (objectplacing)
|
||||
return false;
|
||||
|
||||
// well no clue but this may happen ig
|
||||
if (!target)
|
||||
return false;
|
||||
|
||||
if (target->health <= 0)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user