- Fixed: SetActorPitch with a 0-tid (i.e. affect the activator) set the angle

instead of the pitch.
- Fixed: The check for special death states in AActor::TakeSpecialDamage didn't
  work.


SVN r371 (trunk)
This commit is contained in:
Christoph Oelckers 2006-10-31 21:49:45 +00:00
commit a8ba2a99ea
5 changed files with 26 additions and 8 deletions

View file

@ -4639,7 +4639,7 @@ int AActor::TakeSpecialDamage (AActor *inflictor, AActor *source, int damage, FN
// it needs to work.
// Always kill if there is a regular death state or no death states at all.
if (FindState (NAME_Death) != NULL || !HasStates(NAME_Death))
if (FindState (NAME_Death) != NULL || !HasSpecialDeathStates())
{
return damage;
}