From 9103f4dbe8f60eac22e7d5960c44d25a25236f41 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 8 Sep 2022 00:52:11 +0200 Subject: [PATCH] - missed 2 vel in skull.cpp --- source/games/sw/src/skull.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/sw/src/skull.cpp b/source/games/sw/src/skull.cpp index 066aef94c..434e1b365 100644 --- a/source/games/sw/src/skull.cpp +++ b/source/games/sw/src/skull.cpp @@ -456,7 +456,7 @@ int DoSkullWait(DSWActor* actor) if (dist < 8000) { actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos); - actor->set_int_xvel(128 + (RANDOM_P2(256<<8)>>8)); + actor->vel.X = 8 + RandomRangeF(16); actor->user.jump_speed = -700; NewStateGroup(actor, sg_SkullJump); DoBeginJump(actor); @@ -818,7 +818,7 @@ int DoBettyWait(DSWActor* actor) if (dist < 8000) { actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos); - actor->set_int_xvel(128 + (RANDOM_P2(256<<8)>>8)); + actor->vel.X = 8 + RandomRangeF(16); actor->user.jump_speed = -700; NewStateGroup(actor, sg_BettyJump); DoBeginJump(actor);