- made AActor::gravity and FMapThing::gravity floats.

This commit is contained in:
Christoph Oelckers 2016-03-21 00:51:19 +01:00
commit 1ff4bb419c
18 changed files with 43 additions and 43 deletions

View file

@ -2464,11 +2464,11 @@ FUNC(LS_Sector_SetDamage)
FUNC(LS_Sector_SetGravity)
// Sector_SetGravity (tag, intpart, fracpart)
{
float gravity;
double gravity;
if (arg2 > 99)
arg2 = 99;
gravity = (float)arg1 + (float)arg2 * 0.01f;
gravity = (double)arg1 + (double)arg2 * 0.01;
FSectorTagIterator itr(arg0);
int secnum;