summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-21 15:49:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-21 15:49:23 +0300
commit84b7634a85d0474d83af7002ee7639cf421686bf (patch)
treec1d4bed2c70f26b19db7758ad23aa4ace9c3d6c7 /src/settings.h
parentff67cb1d126ac5b26907816ddd094c517ae5216d (diff)
downloadManaVerse-84b7634a85d0474d83af7002ee7639cf421686bf.tar.gz
ManaVerse-84b7634a85d0474d83af7002ee7639cf421686bf.tar.bz2
ManaVerse-84b7634a85d0474d83af7002ee7639cf421686bf.tar.xz
ManaVerse-84b7634a85d0474d83af7002ee7639cf421686bf.zip
Add option for enable/disable remote commands.
In tmw remote commands disabled by default.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index 3007e5a10..8fc826ed0 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -82,7 +82,8 @@ class Settings final
pseudoAwayMode(false),
fixDeadAnimation(true),
disableLoggingInGame(false),
- legacyEffects(true)
+ legacyEffects(true),
+ enableRemoteCommands(true)
{ }
std::string updateHost;
@@ -135,6 +136,7 @@ class Settings final
bool fixDeadAnimation;
bool disableLoggingInGame;
bool legacyEffects;
+ bool enableRemoteCommands;
};
extern Settings settings;