mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +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)))
|
if (inflictor->IsKindOf (RUNTIME_CLASS(ASpectralLightningV1)))
|
||||||
return -1;
|
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