mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-04-22 08:28:53 +00:00
- quick band-aid fix for the Ironlich/Whirlwind spawning problem: Set special1 to 60 in AWhirlwind::BeginPlay.
This commit is contained in:
parent
7658508e90
commit
cbe4e2deca
1 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,10 @@ class AWhirlwind : public AActor
|
|||
DECLARE_CLASS (AWhirlwind, AActor)
|
||||
public:
|
||||
int DoSpecialDamage (AActor *target, int damage, FName damagetype);
|
||||
void BeginPlay()
|
||||
{
|
||||
special1 = 60;
|
||||
}
|
||||
};
|
||||
|
||||
IMPLEMENT_CLASS(AWhirlwind)
|
||||
|
@ -129,7 +133,6 @@ DEFINE_ACTION_FUNCTION(AActor, A_LichAttack)
|
|||
{
|
||||
mo->AddZ(-32*FRACUNIT, false);
|
||||
mo->tracer = target;
|
||||
mo->special1 = 60;
|
||||
mo->special2 = 50; // Timer for active sound
|
||||
mo->health = 20*TICRATE; // Duration
|
||||
S_Sound (self, CHAN_BODY, "ironlich/attack3", 1, ATTN_NORM);
|
||||
|
|
Loading…
Reference in a new issue