summaryrefslogtreecommitdiff
path: root/src/hexen/r_things.c
diff options
context:
space:
mode:
authorFabian Greffrath2015-03-30 18:13:10 +0200
committerFabian Greffrath2015-03-30 18:13:10 +0200
commit535b4edd143ceeae870e9c13cdac65ce17e2be48 (patch)
tree11fa61069a3a5f73160913881af8f345d9312b7c /src/hexen/r_things.c
parent833d8a838b44a950ebde587db1d888bf0a98e690 (diff)
parente0eb95922fbda64aca169d62029a5be071e1273f (diff)
downloadchocolate-doom-535b4edd143ceeae870e9c13cdac65ce17e2be48.tar.gz
chocolate-doom-535b4edd143ceeae870e9c13cdac65ce17e2be48.tar.bz2
chocolate-doom-535b4edd143ceeae870e9c13cdac65ce17e2be48.zip
Merge pull request #523 from chocolate-doom/hexndemo
Add support for the Hexen 4 Level Demo Version
Diffstat (limited to 'src/hexen/r_things.c')
-rw-r--r--src/hexen/r_things.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hexen/r_things.c b/src/hexen/r_things.c
index aae6dc60..9d1cb6b5 100644
--- a/src/hexen/r_things.c
+++ b/src/hexen/r_things.c
@@ -388,7 +388,7 @@ void R_DrawVisSprite(vissprite_t * vis, int x1, int x2)
{
colfunc = R_DrawTranslatedTLColumn;
dc_translation = translationtables - 256
- + vis->class * ((MAXPLAYERS - 1) * 256) +
+ + vis->class * ((maxplayers - 1) * 256) +
((vis->mobjflags & MF_TRANSLATION) >> (MF_TRANSSHIFT - 8));
}
else if (vis->mobjflags & MF_SHADOW)
@@ -405,7 +405,7 @@ void R_DrawVisSprite(vissprite_t * vis, int x1, int x2)
// Draw using translated column function
colfunc = R_DrawTranslatedColumn;
dc_translation = translationtables - 256
- + vis->class * ((MAXPLAYERS - 1) * 256) +
+ + vis->class * ((maxplayers - 1) * 256) +
((vis->mobjflags & MF_TRANSLATION) >> (MF_TRANSSHIFT - 8));
}