WEAPON_EGON: Add shake effect to the impacted region, where the beam hits

to be more close to OG Half-Life
This commit is contained in:
Marco Cawthorne 2021-03-29 10:13:54 +02:00
parent b786643e43
commit e536f11c74
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ void w_egon_primary(void)
vector endpos = src + v_forward * 1024;
traceline(src, endpos, FALSE, pl);
Damage_Radius(trace_endpos, pl, 14, 64, TRUE, DMG_ELECTRO);
Client_ShakeOnce(trace_endpos, 128, 0.2, 1.0, 1.0f);
#endif
pl.ammo_uranium--;