- added a minimum threshold for damage thrust to avoid micro-velocities being set for actors.

- fixed: Strife's Oracle is not a living thing and needs the NOBLOOD flag.
- fixed: Chex Quest's finale pic was wrong.


SVN r2143 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-30 13:48:44 +00:00
commit 24a12a04b4
4 changed files with 7 additions and 3 deletions

View file

@ -1062,6 +1062,9 @@ void P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage
thrust = FLOAT2FIXED(fltthrust);
// Don't apply ultra-small damage thrust
if (thrust < FRACUNIT/100) thrust = 0;
// make fall forwards sometimes
if ((damage < 40) && (damage > target->health)
&& (target->z - origin->z > 64*FRACUNIT)