Remove even more shareware restrictions

stable-5.2
Günther Brammer 2009-06-05 15:46:13 +02:00
parent a2ea3aaaff
commit d84cdd5e71
2 changed files with 0 additions and 10 deletions

View File

@ -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; }

View File

@ -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