Hexen2: H2's Monsters are not meant to make thud sounds when hitting the ground, apparently.

This commit is contained in:
Shpoike 2023-06-05 23:51:57 +01:00
parent 587032f1f6
commit 067f3b5ddf
1 changed files with 5 additions and 0 deletions

View File

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