From b84158ecec998fc26150fd22b2207f6ada97cdcb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 3 Sep 2022 10:45:56 +0200 Subject: [PATCH] - Exhumed snake stuff --- source/games/exhumed/src/snake.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/games/exhumed/src/snake.cpp b/source/games/exhumed/src/snake.cpp index 94ea35c3b..22b695ad0 100644 --- a/source/games/exhumed/src/snake.cpp +++ b/source/games/exhumed/src/snake.cpp @@ -156,9 +156,7 @@ void BuildSnake(int nPlayer, int zVal) if (nSqrt < bsin(512, -4)) { - auto v = hit.int_hitpos(); - BackUpBullet(&v.X, &v.Y, nAngle); - hit.set_int_hitpos_xy(v.X, v.Y); + hit.hitpos -= pPlayerActor->spr.angle.ToVector() * 0.5; auto pActor = insertActor(hit.hitSector, 202); pActor->spr.pos = hit.hitpos;