SW: Fix types of min/max statements

Patch from Striker.

git-svn-id: https://svn.eduke32.com/eduke32@7501 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:25:42 +00:00 committed by Christoph Oelckers
parent 28ec01ef75
commit d842dc761d
6 changed files with 44 additions and 44 deletions

View file

@ -7278,7 +7278,7 @@ pWeaponBob(PANEL_SPRITEp psp, short condition)
bobvel = FindDistance2D(pp->xvect, pp->yvect) >> 15;
bobvel = bobvel + DIV4(bobvel);
bobvel = min(bobvel, 128);
bobvel = min(bobvel, short(128));
if (condition)
{