mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
commit
722ef02719
1 changed files with 3 additions and 3 deletions
|
@ -2439,7 +2439,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FadeIn)
|
|||
if (flags & FTF_CLAMP)
|
||||
self->alpha = (FRACUNIT * 1);
|
||||
if (flags & FTF_REMOVE)
|
||||
self->Destroy();
|
||||
P_RemoveThing(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2467,7 +2467,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FadeOut)
|
|||
if (flags & FTF_CLAMP)
|
||||
self->alpha = 0;
|
||||
if (flags & FTF_REMOVE)
|
||||
self->Destroy();
|
||||
P_RemoveThing(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2515,7 +2515,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FadeTo)
|
|||
}
|
||||
if (self->alpha == target && (flags & FTF_REMOVE))
|
||||
{
|
||||
self->Destroy();
|
||||
P_RemoveThing(self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue