From b54a6e056512203ce6a08c85ce812722b2280513 Mon Sep 17 00:00:00 2001 From: Evan Ramos Date: Sun, 29 Mar 2020 09:07:03 +0000 Subject: [PATCH] WT Incinerator projectile velocity hotfix from Nuke.YKT From-SVN: r8791 --- source/duke3d/src/player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index aee47321a..702b6f53c 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -1606,7 +1606,7 @@ static int32_t A_ShootHardcoded(int spriteNum, int projecTile, int shootAng, vec break; if (pSprite->extra >= 0) pSprite->shade = -96; - vel = 1024; + vel = 400; int j, underwater; if (playerNum >= 0) { @@ -1616,7 +1616,7 @@ static int32_t A_ShootHardcoded(int spriteNum, int projecTile, int shootAng, vec { int ang = getangle(startPos.x-pPlayer->opos.x,startPos.y-pPlayer->opos.y); ang = 512-(1024-klabs(klabs(ang-shootAng)-1024)); - vel = 1024+int(float(ang)*(1.f/512.f)*float(xv)); + vel = 400+int(float(ang)*(1.f/512.f)*float(xv)); } underwater = sector[pPlayer->cursectnum].lotag == ST_2_UNDERWATER; }