From c5ee7cf3380f60e78c2e1733b30fa7af9cc6c25f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 16 May 2023 17:04:26 +0200 Subject: [PATCH] - Duke: add a proper override for Initialize to the player base class --- wadsrc/static/zscript/games/duke/actors/_placeholders.zs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wadsrc/static/zscript/games/duke/actors/_placeholders.zs b/wadsrc/static/zscript/games/duke/actors/_placeholders.zs index be47f71b1..ec2f41765 100644 --- a/wadsrc/static/zscript/games/duke/actors/_placeholders.zs +++ b/wadsrc/static/zscript/games/duke/actors/_placeholders.zs @@ -12,6 +12,11 @@ class DukePlayerBase : DukeActor pic "APLAYER"; +DESTRUCTOIMMUNE; } + + override void Initialize(DukeActor spawner) + { + // do not call the base class here. + } } class RedneckMotoHit : DukeActor