mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
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:
parent
28ec01ef75
commit
d842dc761d
6 changed files with 44 additions and 44 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue