diff options
Diffstat (limited to 'src/strife/r_things.c')
-rw-r--r-- | src/strife/r_things.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/strife/r_things.c b/src/strife/r_things.c index 90267052..45b71915 100644 --- a/src/strife/r_things.c +++ b/src/strife/r_things.c @@ -414,11 +414,12 @@ R_DrawVisSprite // NULL colormap = shadow draw colfunc = fuzzcolfunc; } - else if (vis->mobjflags & MF_TRANSLATION) + // villsa [STRIFE] new translation tables + else if (vis->mobjflags & (MF_COLORSWAP1|MF_COLORSWAP2|MF_COLORSWAP3)) { colfunc = transcolfunc; dc_translation = translationtables - 256 + - ( (vis->mobjflags & MF_TRANSLATION) >> (MF_TRANSSHIFT-8) ); + ((vis->mobjflags & (MF_COLORSWAP1|MF_COLORSWAP2|MF_COLORSWAP3))>>20); } dc_iscale = abs(vis->xiscale)>>detailshift; |