From 23f9c1a1e676c53b7350e574891c0ab90540bb26 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sat, 2 Nov 2024 20:14:30 +0100 Subject: [PATCH] Only set the effect angles from the supplied angles if the spawnthing doesn't have angle set --- code/cgame/cg_specialfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cgame/cg_specialfx.cpp b/code/cgame/cg_specialfx.cpp index 48a0f6e6..48042803 100644 --- a/code/cgame/cg_specialfx.cpp +++ b/code/cgame/cg_specialfx.cpp @@ -512,7 +512,7 @@ void ClientSpecialEffectsManager::ExecuteEffect( current_tiki = NULL; pCommand->emitter->cgd.origin = vPos; - if (pCommand->emitter->cgd.flags & T_ANGLES) { + if (!(pCommand->emitter->cgd.flags & T_ANGLES)) { pCommand->emitter->cgd.angles = vAngles; }