Fix angles assigned for shock beam in env_blowercannon (#337)

This commit is contained in:
Roman Chistokhodov 2022-10-14 12:56:40 +03:00 committed by GitHub
parent b79786505a
commit 5c51c7ca95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);