From f16333c9d627da5ed6ae5cd32cc8d044e5b209e7 Mon Sep 17 00:00:00 2001 From: s1lent Date: Wed, 15 Jan 2020 20:44:32 +0700 Subject: [PATCH] func_mortar_field: Use explosion instead of a flash --- regamedll/dlls/mortar.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regamedll/dlls/mortar.cpp b/regamedll/dlls/mortar.cpp index 84775046..a25a8ebc 100644 --- a/regamedll/dlls/mortar.cpp +++ b/regamedll/dlls/mortar.cpp @@ -191,6 +191,11 @@ void CMortar::MortarExplode() TraceResult tr; UTIL_TraceLine(pev->origin + Vector(0, 0, 1024), pev->origin - Vector(0, 0, 1024), dont_ignore_monsters, ENT(pev), &tr); +#ifdef REGAMEDLL_FIXES + Explode3(&tr, (DMG_BLAST | DMG_MORTAR)); +#else Explode(&tr, (DMG_BLAST | DMG_MORTAR)); +#endif + UTIL_ScreenShake(tr.vecEndPos, 25.0, 150.0, 1.0, 750); }