forked from Mirrors/openclonk
Remove even more shareware restrictions
parent
a2ea3aaaff
commit
d84cdd5e71
|
@ -2048,10 +2048,6 @@ bool C4Game::DoKeyboardInput(C4KeyCode vk_code, C4KeyEventType eEventType, bool
|
||||||
|
|
||||||
bool C4Game::CanQuickSave()
|
bool C4Game::CanQuickSave()
|
||||||
{
|
{
|
||||||
// Registered only
|
|
||||||
if (!Config.Registered())
|
|
||||||
{ Log(LoadResStr("IDS_GAME_NOUNREGSAVE")); return false; }
|
|
||||||
|
|
||||||
// Network hosts only
|
// Network hosts only
|
||||||
if (Network.isEnabled() && !Network.isHost())
|
if (Network.isEnabled() && !Network.isHost())
|
||||||
{ Log(LoadResStr("IDS_GAME_NOCLIENTSAVE")); return false; }
|
{ Log(LoadResStr("IDS_GAME_NOCLIENTSAVE")); return false; }
|
||||||
|
|
|
@ -106,12 +106,6 @@ bool ProcessGroup(const char *FilenamePar) {
|
||||||
for (int iArg = iFirstCommand; iArg < argc; ++iArg) {
|
for (int iArg = iFirstCommand; iArg < argc; ++iArg) {
|
||||||
// This argument is a command
|
// This argument is a command
|
||||||
if (argv[iArg][0] == '-') {
|
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
|
// Handle commands
|
||||||
switch (argv[iArg][1]) {
|
switch (argv[iArg][1]) {
|
||||||
// Add
|
// Add
|
||||||
|
|
Loading…
Reference in New Issue