No need to FLOAT_TO_FIXED here :з
This commit is contained in:
1 parent
c6cc7d3d29
commit
fc894d8631
1 file changed
+1
-1
+1
-1
@@ -3408,7 +3408,7 @@ static void K_StretchPlayerGravity(player_t *p)
|
||||
fixed_t mos = FRACUNIT;
|
||||
fixed_t rzs = abs(p->mo->momz);
|
||||
fixed_t zspd = abs(rzs/mos);
|
||||
fixed_t stretchScaleFactor = FixedDiv(FRACUNIT*60, FLOAT_TO_FIXED(cv_gravstretch.value));
|
||||
fixed_t stretchScaleFactor = FixedDiv(FRACUNIT*60, cv_gravstretch.value);
|
||||
fixed_t rzsDiv, slamDiv;
|
||||
|
||||
fixed_t dxs = p->mo->realxscale;
|
||||
|
||||
Reference in new issue
Block a user