DEADSOFTWARE

gl: disable visual cheats at network game
[d2df-sdl.git] / src / game / renders / opengl / r_render.pas
index a16a37d8508ece44560788ccbd0c33d82e0bfad6..8d325446abdca67f84d294ac5d9b80faec5a1777 100644 (file)
@@ -1327,7 +1327,7 @@ implementation
 
     r_Console_Draw(false);
 
-    if DebugSound and gGameOn then
+    if DebugSound and gGameOn and not (gGameSettings.GameType in [GT_SERVER, GT_CLIENT]) then
     begin
       for i := 0 to High(e_SoundsArray) do
         for j := 0 to e_SoundsArray[i].nRefs do