]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
try to detect a .app package in MacOSX and use a basedir outside the .app
[xonotic/darkplaces.git] / 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)