Increase the effect of lower friction on movefactor

to account for lower friction in this branch
This commit is contained in:
Sryder 2017-03-06 03:22:18 +00:00
parent cf2671be77
commit 6968f39b43

View file

@ -7167,7 +7167,7 @@ static void P_SpawnFriction(void)
// movefactor = ((0x10092 - friction)*(0x70))/0x158;
movefactor = FixedDiv(ORIG_FRICTION, friction);
if (movefactor < FRACUNIT)
movefactor = 8*movefactor - 7*FRACUNIT;
movefactor = 19*movefactor - 18*FRACUNIT;
else
movefactor = FRACUNIT; //movefactor = ((friction - 0xDB34)*(0xA))/0x80;