From 35583621cf9573c9d79e4398f65f204f168ae31b Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Fri, 26 May 2017 18:28:09 -0500 Subject: [PATCH] PSPF_MIRROR now corrects the bobx direction. --- src/gl/scene/gl_weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_weapon.cpp b/src/gl/scene/gl_weapon.cpp index 8edc12474c..78c32cc07e 100644 --- a/src/gl/scene/gl_weapon.cpp +++ b/src/gl/scene/gl_weapon.cpp @@ -437,7 +437,7 @@ void GLSceneDrawer::DrawPlayerSprites(sector_t * viewsector, bool hudModelStep) if (psp->Flags & PSPF_ADDBOB) { - sx += bobx; + sx += (psp->Flags & PSPF_MIRROR) ? -bobx : bobx; sy += boby; }