From 5c51c7ca956477bfbc0da2a4b3ddd73aabe1fec8 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Fri, 14 Oct 2022 12:56:40 +0300 Subject: [PATCH] Fix angles assigned for shock beam in env_blowercannon (#337) --- dlls/gearbox/gearbox_effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gearbox/gearbox_effects.cpp b/dlls/gearbox/gearbox_effects.cpp index 421d1d1b..810a57dd 100644 --- a/dlls/gearbox/gearbox_effects.cpp +++ b/dlls/gearbox/gearbox_effects.cpp @@ -304,7 +304,7 @@ void CBlowerCannon::BlowerCannonThink( void ) CSpore::CreateSpore(pev->origin, angles, this, CSpore::GRENADE, false, false); break; case BLOWERCANNON_SHOCKBEAM: - CShock::Shoot(pev, pev->angles, pev->origin, gpGlobals->v_forward * 2000); + CShock::Shoot(pev, angles, pev->origin, gpGlobals->v_forward * 2000); break; case BLOWERCANNON_DISPLACERBALL: CDisplacerBall::Shoot(pev, pev->origin, gpGlobals->v_forward * 500, angles);