From ded7d941ea88da4a0098abfe0544d8bfdfe01478 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sat, 19 Aug 2023 00:34:27 +0200 Subject: [PATCH] Call SetAngles(ev) when setting the angles --- code/fgame/scriptslave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/fgame/scriptslave.cpp b/code/fgame/scriptslave.cpp index 723ec1dc..6a4f7f31 100644 --- a/code/fgame/scriptslave.cpp +++ b/code/fgame/scriptslave.cpp @@ -829,7 +829,7 @@ void ScriptSlave::SetAnglesEvent { commandswaiting = true; - setAngles( ev->GetVector( 1 ) ); + SetAngles(ev); NewAngles = localangles; }