- floatified the rest of p_mobj_cpp and removed a large part of the conversion cruft from the headers that was needed to keep the code compileable.

This commit is contained in:
Christoph Oelckers 2016-03-28 12:03:07 +02:00
commit 5e1c79c050
7 changed files with 48 additions and 106 deletions

View file

@ -2106,7 +2106,7 @@ void P_FallingDamage (AActor *actor)
}
// The minimum amount of damage you take from falling in Strife
// is 52. Ouch!
damage = vel / 25000;
damage = int(vel / (25000./65536.));
break;
default: