DEADSOFTWARE

cheats are active in single/coop now ('cause Wyoming Knotts, you know)
[d2df-sdl.git] / src / game / g_main.pas
index af83d89c667176cfca037a9fa89c98688118d2d8..feb59808af5870cd802b22a8c1bbad0ac3e525af 100644 (file)
@@ -253,9 +253,13 @@ var
   c: ShortString;
   a: Integer;
 begin
+  {
   if (not gGameOn) or (not gCheats) or ((gGameSettings.GameType <> GT_SINGLE) and
     (gGameSettings.GameMode <> GM_COOP) and (not gDebugMode))
     or g_Game_IsNet then Exit;
+  }
+  if not gGameOn then exit;
+  if not conIsCheatsEnabled then exit;
 
   s := 'SOUND_GAME_RADIO';