Merge branch 'opfor' into opforfixed

This commit is contained in:
Andrey Akhmichin 2022-10-14 15:04:53 +05:00
commit b5afe26d0c
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
//========================================================= //=========================================================
// CFuncTankOF // CFuncTankOF
//========================================================= //=========================================================
class CFuncTankOF : public CFuncTank class CFuncTankOF : public CFuncTankGun
{ {
public: public:
@ -78,4 +78,4 @@ public:
}; };
LINK_ENTITY_TO_CLASS(func_tankcontrols_of, CFuncTankControlsOF); LINK_ENTITY_TO_CLASS(func_tankcontrols_of, CFuncTankControlsOF);

View File

@ -304,7 +304,7 @@ void CBlowerCannon::BlowerCannonThink( void )
CSpore::CreateSpore(pev->origin, angles, this, CSpore::GRENADE, false, false); CSpore::CreateSpore(pev->origin, angles, this, CSpore::GRENADE, false, false);
break; break;
case BLOWERCANNON_SHOCKBEAM: 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; break;
case BLOWERCANNON_DISPLACERBALL: case BLOWERCANNON_DISPLACERBALL:
CDisplacerBall::Shoot(pev, pev->origin, gpGlobals->v_forward * 500, angles); CDisplacerBall::Shoot(pev, pev->origin, gpGlobals->v_forward * 500, angles);