- made AActor::gravity and FMapThing::gravity floats.
This commit is contained in:
parent
7ebb96f15c
commit
1ff4bb419c
18 changed files with 43 additions and 43 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue