diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-21 00:42:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-21 00:42:32 +0300 |
commit | 849bf8bca7d8df41bc6adca236fef8ba2886d1ff (patch) | |
tree | bb0587c4b02e7033460358f8a7182c94555ed905 /src/utils | |
parent | 0de4bb29a90db0f6493263b8db4cb1329935b5a3 (diff) | |
download | manaplus-849bf8bca7d8df41bc6adca236fef8ba2886d1ff.tar.gz manaplus-849bf8bca7d8df41bc6adca236fef8ba2886d1ff.tar.bz2 manaplus-849bf8bca7d8df41bc6adca236fef8ba2886d1ff.tar.xz manaplus-849bf8bca7d8df41bc6adca236fef8ba2886d1ff.zip |
Remove useless checks.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/chatutils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/chatutils.cpp b/src/utils/chatutils.cpp index 0d2c5cdd9..eab50ee1c 100644 --- a/src/utils/chatutils.cpp +++ b/src/utils/chatutils.cpp @@ -159,8 +159,7 @@ void replaceVars(std::string &str) std::string newStr; const Party *party = nullptr; if (localPlayer->isInParty() && - (party = localPlayer->getParty()) && - party) + (party = localPlayer->getParty())) { party->getNames(names); FOR_EACH (StringVectCIter, it, names) |