From 8d9d71f55f5ad589c31f260e4bb125f96a5ea975 Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Sun, 30 Dec 2018 10:08:07 -0600 Subject: [PATCH] - Fixed: SXF_CLEARCALLERSPECIAL cleared the spawned actor's special instead of the caller. --- wadsrc/static/zscript/actor_attacks.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wadsrc/static/zscript/actor_attacks.txt b/wadsrc/static/zscript/actor_attacks.txt index 52656967e..2e1532e35 100644 --- a/wadsrc/static/zscript/actor_attacks.txt +++ b/wadsrc/static/zscript/actor_attacks.txt @@ -307,11 +307,11 @@ extend class Actor if (flags & SXF_CLEARCALLERSPECIAL) { self.special = 0; - mo.args[0] = 0; - mo.args[1] = 0; - mo.args[2] = 0; - mo.args[3] = 0; - mo.args[4] = 0; + self.args[0] = 0; + self.args[1] = 0; + self.args[2] = 0; + self.args[3] = 0; + self.args[4] = 0; } if (flags & SXF_TRANSFERSTENCILCOL) {