From 42a26b5f3cb790f6b02a644706ae90af4f22b6b3 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 27 Jun 2017 11:01:34 +0000 Subject: [PATCH] Add action viewtypes 12 (like 7 but not mirrored), 9, and 16. git-svn-id: https://svn.eduke32.com/eduke32@6306 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/game.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index 39060bac9..23de298a7 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -4124,6 +4124,17 @@ PALONLY: frameOffset = getofs_viewtype<8>(angDiff); t->cstat &= ~4; break; + case 9: + frameOffset = getofs_viewtype_mirrored<9>(t->cstat, angDiff); + break; + case 12: + frameOffset = getofs_viewtype<12>(angDiff); + t->cstat &= ~4; + break; + case 16: + frameOffset = getofs_viewtype<16>(angDiff); + t->cstat &= ~4; + break; default: frameOffset = 0; break;