mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 13:21:36 +00:00
Hexen2: H2's Monsters are not meant to make thud sounds when hitting the ground, apparently.
This commit is contained in:
parent
587032f1f6
commit
067f3b5ddf
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue