]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disable h2ohit.wav in GAME_NEXUIZ
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 May 2005 21:29:11 +0000 (21:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 May 2005 21:29:11 +0000 (21:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5349 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index a44bfa4a55645b44591626099df4c5222426c6df..edb1db2c969f11b5ecbf670d6d0067ccd64e4acf 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1171,7 +1171,7 @@ void SV_CheckWaterTransition (prvm_edict_t *ent)
        }
 
        // check if the entity crossed into or out of water
-       if ((ent->fields.server->watertype == CONTENTS_WATER || ent->fields.server->watertype == CONTENTS_SLIME) != (cont == CONTENTS_WATER || cont == CONTENTS_SLIME))
+       if (gamemode != GAME_NEXUIZ && ((ent->fields.server->watertype == CONTENTS_WATER || ent->fields.server->watertype == CONTENTS_SLIME) != (cont == CONTENTS_WATER || cont == CONTENTS_SLIME)))
                SV_StartSound (ent, 0, "misc/h2ohit1.wav", 255, 1);
 
        if (cont <= CONTENTS_WATER)