- 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:
parent
1b741775a4
commit
a8ba2a99ea
5 changed files with 26 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue