diff --git a/source/sw/src/weapon.cpp b/source/sw/src/weapon.cpp index fb22b438d..c410cdd95 100644 --- a/source/sw/src/weapon.cpp +++ b/source/sw/src/weapon.cpp @@ -4647,7 +4647,7 @@ WeaponMoveHit(short SpriteNum) case HIT_WALL: { - hitdata_t hitinfo = { { 0, 0, 0 }, -2, NORM_WALL(u->ret), -2 }; + hitdata_t hitinfo = { { 0, 0, 0 }, -2, (int16_t)NORM_WALL(u->ret), -2 }; WALLp wph = &wall[hitinfo.wall]; SECTOR_OBJECTp sop;