diff options
author | Dan Sagunov <danilka.pro@gmail.com> | 2013-11-04 14:06:06 +0400 |
---|---|---|
committer | Dan Sagunov <danilka.pro@gmail.com> | 2013-11-04 14:06:06 +0400 |
commit | 25d33c793a85aa1f62fd2d03378e25078aaf410a (patch) | |
tree | b2068b328011e93b98ac21f1c92aee17b5c268e2 /src/commands.cpp | |
parent | 61bc04f3a499c4ff856a37d161219d6de733d9d1 (diff) | |
parent | 2ba2b398bdee802ed8c09819562de0afb34a1229 (diff) | |
download | mv-25d33c793a85aa1f62fd2d03378e25078aaf410a.tar.gz mv-25d33c793a85aa1f62fd2d03378e25078aaf410a.tar.bz2 mv-25d33c793a85aa1f62fd2d03378e25078aaf410a.tar.xz mv-25d33c793a85aa1f62fd2d03378e25078aaf410a.zip |
Merge branch 'master' of gitorious.org:manaplus/manaplus
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 551aa9943..75347a9aa 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -743,6 +743,9 @@ impHandler(follow) if (!player_node) return; + if (!features.getBoolValue("allowFollow")) + return; + if (!args.empty()) player_node->setFollow(args); else if (tab && tab->getType() == ChatTab::TAB_WHISPER) |