From 58f56bbea6c7f60cd7b027bae83d795f00b0b297 Mon Sep 17 00:00:00 2001 From: Player701 Date: Tue, 22 Sep 2020 14:50:14 +0300 Subject: [PATCH] Fixed: extra player translation tables were not fully initialized. --- src/r_data/r_translate.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/r_data/r_translate.cpp b/src/r_data/r_translate.cpp index bfa655d4c..9c572a043 100644 --- a/src/r_data/r_translate.cpp +++ b/src/r_data/r_translate.cpp @@ -371,6 +371,9 @@ static void R_CreatePlayerTranslation (float h, float s, float v, const FPlayerC float sdelta, vdelta; float range; + if (alttable) alttable->MakeIdentity(); + if (pillartable) pillartable->MakeIdentity(); + // Set up the base translation for this skin. If the skin was created // for the current game, then this is just an identity translation. // Otherwise, it remaps the colors from the skin's original palette to