From d84cdd5e715e17c70558e428a19862251c547981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Brammer?= Date: Fri, 5 Jun 2009 15:46:13 +0200 Subject: [PATCH] Remove even more shareware restrictions --- engine/src/C4Game.cpp | 4 ---- group/c4group_ng.cpp | 6 ------ 2 files changed, 10 deletions(-) diff --git a/engine/src/C4Game.cpp b/engine/src/C4Game.cpp index e3952394c..b94f89409 100644 --- a/engine/src/C4Game.cpp +++ b/engine/src/C4Game.cpp @@ -2048,10 +2048,6 @@ bool C4Game::DoKeyboardInput(C4KeyCode vk_code, C4KeyEventType eEventType, bool bool C4Game::CanQuickSave() { - // Registered only - if (!Config.Registered()) - { Log(LoadResStr("IDS_GAME_NOUNREGSAVE")); return false; } - // Network hosts only if (Network.isEnabled() && !Network.isHost()) { Log(LoadResStr("IDS_GAME_NOCLIENTSAVE")); return false; } diff --git a/group/c4group_ng.cpp b/group/c4group_ng.cpp index 7d67ea35c..6344221bc 100644 --- a/group/c4group_ng.cpp +++ b/group/c4group_ng.cpp @@ -106,12 +106,6 @@ bool ProcessGroup(const char *FilenamePar) { for (int iArg = iFirstCommand; iArg < argc; ++iArg) { // This argument is a command if (argv[iArg][0] == '-') { - // Block unregistered commands - if (!Config.Registered() && (SCharPos(argv[iArg][1], "y") < 0)) - { - printf("Command -%c not allowed in unregistered version: %s\n", argv[iArg][1], Config.GetRegistrationError()); - continue; - } // Handle commands switch (argv[iArg][1]) { // Add