summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/r_things.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/r_things.c b/src/hexen/r_things.c
index 7a05651a..aae6dc60 100644
--- a/src/hexen/r_things.c
+++ b/src/hexen/r_things.c
@@ -426,7 +426,7 @@ void R_DrawVisSprite(vissprite_t * vis, int x1, int x2)
if (vis->floorclip && !vis->psprite)
{
- sprbotscreen = sprtopscreen + FixedMul(patch->height << FRACBITS,
+ sprbotscreen = sprtopscreen + FixedMul(SHORT(patch->height) << FRACBITS,
spryscale);
baseclip = (sprbotscreen - FixedMul(vis->floorclip,
spryscale)) >> FRACBITS;