mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
SVN r38 (trunk)
This commit is contained in:
parent
fdeb374fdb
commit
218fd0ae56
1 changed files with 3 additions and 1 deletions
|
@ -183,5 +183,7 @@ int AMacil2::TakeSpecialDamage (AActor *inflictor, AActor *source, int damage, i
|
|||
{
|
||||
if (inflictor->IsKindOf (RUNTIME_CLASS(ASpectralLightningV1)))
|
||||
return -1;
|
||||
return Super::TakeSpecialDamage(inflictor, source, damage, damagetype);
|
||||
|
||||
// This must skip the method of AMacil1 but it should call AActor's version.
|
||||
return AActor::TakeSpecialDamage(inflictor, source, damage, damagetype);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue