From 478f20b8457e37b2fec940a39fe66f1339a634e7 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 6 Oct 2020 16:23:54 +1100 Subject: [PATCH] - SW: Apply fix from c86af08a1930ece0a1f053b7c2b4a6b236a7f4af not to just when stopping operation of remote objects, but all objects. * Fixes #105. --- source/sw/src/player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/sw/src/player.cpp b/source/sw/src/player.cpp index 7a768d971..6afd13648 100644 --- a/source/sw/src/player.cpp +++ b/source/sw/src/player.cpp @@ -5595,11 +5595,11 @@ DoPlayerStopOperate(PLAYERp pp) pp->q16ang = pp->oq16ang = IntToFixed(pp->remote_sprite->ang); else pp->q16ang = pp->oq16ang = gethiq16angle(pp->sop_remote->xmid - pp->posx, pp->sop_remote->ymid - pp->posy); - - if (!cl_syncinput) - pp->angTarget = 0; } + if (!cl_syncinput) + pp->angTarget = 0; + if (pp->sop_control) { pp->sop_control->controller = NULL;