- Fixed: PTR_BounceTraverse only checked for projectiles that were too

high to pass through two-sided lines, but not ones that were too low.
- Fixed: SBARINFO couldn't detect the extreme death damage type for the
  player face animation.


SVN r782 (trunk)
This commit is contained in:
Randy Heit 2008-03-04 00:56:22 +00:00
commit ef99d9c057
7 changed files with 54 additions and 31 deletions

View file

@ -4893,7 +4893,7 @@ void AActor::Crash()
!(flags3 & MF3_CRASHED) &&
!(flags & MF_ICECORPSE))
{
FState * crashstate=NULL;
FState *crashstate = NULL;
if (DamageType != NAME_None)
{
@ -4904,7 +4904,7 @@ void AActor::Crash()
int gibhealth = -abs(GetClass()->Meta.GetMetaInt (AMETA_GibHealth,
gameinfo.gametype == GAME_Doom ? -GetDefault()->health : -GetDefault()->health/2));
if (health<gibhealth)
if (health < gibhealth)
{ // Extreme death
crashstate = FindState (NAME_Crash, NAME_Extreme);
}