diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-08 17:54:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-08 17:54:56 +0300 |
commit | 0379d83c5ffdbc182351533c0d8da8f1a811f86d (patch) | |
tree | 2bed28e9f62bf0b187f63d751ce2d5afb7915361 | |
parent | c5a64309d9d792fc4ee3218f4db902e8a846a18a (diff) | |
download | manaverse-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.gz manaverse-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.bz2 manaverse-0379d83c5ffdbc182351533c0d8da8f1a811f86d.tar.xz manaverse-0379d83c5ffdbc182351533c0d8da8f1a811f86d.zip |
Fix navigation commands.
-rw-r--r-- | src/commandhandler.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 37ee853b0..6876f4463 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -685,9 +685,6 @@ void CommandHandler::handleNavigate(const std::string &args, bool CommandHandler::parse2Int(const std::string &args, int &x, int &y) { - if (!x || !y) - return false; - bool isValid = false; const size_t pos = args.find(" "); if (pos != std::string::npos) |