diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-27 02:59:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-27 23:32:12 +0300 |
commit | 1fd495484bb43a1e0b0d088874d7bc588d8d38c9 (patch) | |
tree | 1c975620150a8e30196379748871338fa89720ac /src/net | |
parent | 42d107be2ecb0cf81c1a291bb4e63e78094bd62e (diff) | |
download | mv-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.gz mv-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.bz2 mv-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.xz mv-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.zip |
Simplify command handlers.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gui/guildtab.cpp | 1 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/gui/guildtab.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/gui/partytab.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/gui/guildtab.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/gui/partytab.cpp | 1 |
6 files changed, 2 insertions, 7 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index 210db0235..7d7c5119e 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -23,7 +23,6 @@ #include "net/ea/gui/guildtab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "guild.h" #include "localplayer.h" #include "sound.h" diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 4b9cd0488..e5b2c586b 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -160,7 +160,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) } } - const signed char opt = CommandHandler::parseBoolean(args); + const signed char opt = parseBoolean(args); switch (opt) { @@ -199,7 +199,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) } } - const signed char opt = CommandHandler::parseBoolean(args); + const signed char opt = parseBoolean(args); switch (opt) { diff --git a/src/net/eathena/gui/guildtab.cpp b/src/net/eathena/gui/guildtab.cpp index fb7cabc77..049c00186 100644 --- a/src/net/eathena/gui/guildtab.cpp +++ b/src/net/eathena/gui/guildtab.cpp @@ -23,7 +23,6 @@ #include "net/eathena/gui/guildtab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "guild.h" #include "localplayer.h" diff --git a/src/net/eathena/gui/partytab.cpp b/src/net/eathena/gui/partytab.cpp index da14226fe..e98642963 100644 --- a/src/net/eathena/gui/partytab.cpp +++ b/src/net/eathena/gui/partytab.cpp @@ -23,7 +23,6 @@ #include "net/eathena/gui/partytab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "localplayer.h" #include "party.h" diff --git a/src/net/tmwa/gui/guildtab.cpp b/src/net/tmwa/gui/guildtab.cpp index ebdaea10f..ddf646f84 100644 --- a/src/net/tmwa/gui/guildtab.cpp +++ b/src/net/tmwa/gui/guildtab.cpp @@ -23,7 +23,6 @@ #include "net/tmwa/gui/guildtab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "guild.h" #include "localplayer.h" diff --git a/src/net/tmwa/gui/partytab.cpp b/src/net/tmwa/gui/partytab.cpp index 6b9440642..09ce35d8a 100644 --- a/src/net/tmwa/gui/partytab.cpp +++ b/src/net/tmwa/gui/partytab.cpp @@ -23,7 +23,6 @@ #include "net/tmwa/gui/partytab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "localplayer.h" #include "party.h" |