Skip to content

Commit

Permalink
Fixed: extra player translation tables were not fully initialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
Player701 authored and coelckers committed Sep 22, 2020
1 parent c60e026 commit 58f56bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/r_data/r_translate.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 58f56bb

Please sign in to comment.