From 067f3b5ddfc1a4a3dae638b0fff235c10cb1b3a8 Mon Sep 17 00:00:00 2001 From: Shpoike Date: Mon, 5 Jun 2023 23:51:57 +0100 Subject: [PATCH] Hexen2: H2's Monsters are not meant to make thud sounds when hitting the ground, apparently. --- engine/server/sv_phys.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index dc0db1e36..3e9252771 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -1525,6 +1525,11 @@ static void WPhys_Physics_Step (world_t *w, wedict_t *ent) if ( (int)ent->v->flags & FL_ONGROUND ) // just hit ground { +#ifdef HEXEN2 + if (progstype == PROG_H2 && ((int)ent->v->flags & FL_MONSTER)) + ; //hexen2 monsters do not make landing sounds. + else +#endif if (hitsound && *sv_sound_land.string) { w->Event_Sound(NULL, ent, 0, sv_sound_land.string, 255, 1, 0, 0, 0);