mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-07 13:41:02 +00:00
- fixed: The exploding ArtiTimeBomb must disable movement interpolation for its position change needed to display the explosion frames correctly.
This commit is contained in:
parent
5fc6ff1303
commit
c0eb39ec72
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ bool AArtiTomeOfPower::Use (bool pickup)
|
||||||
DEFINE_ACTION_FUNCTION(AActor, A_TimeBomb)
|
DEFINE_ACTION_FUNCTION(AActor, A_TimeBomb)
|
||||||
{
|
{
|
||||||
self->z += 32*FRACUNIT;
|
self->z += 32*FRACUNIT;
|
||||||
|
self->PrevZ = self->z; // no interpolation!
|
||||||
self->RenderStyle = STYLE_Add;
|
self->RenderStyle = STYLE_Add;
|
||||||
self->alpha = FRACUNIT;
|
self->alpha = FRACUNIT;
|
||||||
P_RadiusAttack (self, self->target, 128, 128, self->DamageType, RADF_HURTSOURCE);
|
P_RadiusAttack (self, self->target, 128, 128, self->DamageType, RADF_HURTSOURCE);
|
||||||
|
|
Loading…
Reference in a new issue