diff --git a/wadsrc/static/zscript/actors/inventory_util.zs b/wadsrc/static/zscript/actors/inventory_util.zs index d646251095..6b65b64205 100644 --- a/wadsrc/static/zscript/actors/inventory_util.zs +++ b/wadsrc/static/zscript/actors/inventory_util.zs @@ -504,6 +504,10 @@ extend class Actor { return false; } + if (receiver == NULL) + { + return false; + } if (!orresult) { receiver = receiver.GetPointer(setreceiver);