SW: Fix -Wnarrowing warning

git-svn-id: https://svn.eduke32.com/eduke32@7527 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:27:51 +00:00 committed by Christoph Oelckers
parent c2921abe4a
commit c7a209f690

View file

@ -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;