From 1bf6170fc1eed8006797092f921a5c9f0a201693 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 1 Sep 2022 22:53:56 +0200 Subject: [PATCH] - two one-liners --- source/games/sw/src/weapon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/sw/src/weapon.cpp b/source/games/sw/src/weapon.cpp index a1a3cc2dc..c68e11caa 100644 --- a/source/games/sw/src/weapon.cpp +++ b/source/games/sw/src/weapon.cpp @@ -13831,7 +13831,7 @@ int InitSerpSpell(DSWActor* actor) auto actorNew = SpawnActor(STAT_MISSILE, SERP_METEOR, &sg_SerpMeteor[0][0], actor->sector(), actor->spr.pos, actor->spr.angle, 1500); - actorNew->set_int_z(int_ActorZOfTop(actor)); + actorNew->spr.pos.Z = ActorZOfTop(actor); actorNew->user.RotNum = 5; NewStateGroup(actorNew, &sg_SerpMeteor[0]); @@ -13926,7 +13926,7 @@ int InitSerpMonstSpell(DSWActor* actor) auto actorNew = SpawnActor(STAT_MISSILE, SERP_METEOR, &sg_SerpMeteor[0][0], actor->sector(), actor->spr.pos, actor->spr.angle, 500); actorNew->user.spal = actorNew->spr.pal = 25; // Bright Red - actorNew->set_int_z(int_ActorZOfTop(actor)); + actorNew->spr.pos.Z = ActorZOfTop(actor); actorNew->user.RotNum = 5; NewStateGroup(actorNew, &sg_SerpMeteor[0]);