summaryrefslogtreecommitdiff
path: root/src/gui/botcheckerwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-02 23:06:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-02 23:06:48 +0300
commit5acadea119fc2a89e944dc9431e298e5e9544770 (patch)
tree5199e73d8b924cb4ca3324f0f17a1a6696301d77 /src/gui/botcheckerwindow.cpp
parentbf41736950d9e22be8b2b201dcd4833a50b26a99 (diff)
downloadmanaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.gz
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.bz2
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.tar.xz
manaverse-5acadea119fc2a89e944dc9431e298e5e9544770.zip
Fix some issues after automatic code checking.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r--src/gui/botcheckerwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp
index bff9ad31a..2043b4fe3 100644
--- a/src/gui/botcheckerwindow.cpp
+++ b/src/gui/botcheckerwindow.cpp
@@ -193,14 +193,14 @@ public:
attackBot = true;
// attacking but not talking more than 2 minutes
- if (talk > 2 * 60 && talk > 2 * 60)
+ if (talk > 2 * 60)
{
talkBot = true;
str += toString((talk) / 60) + " ";
}
// attacking but not moving more than 2 minutes
- if (move > 2 * 60 && move > 2 * 60)
+ if (move > 2 * 60)
{
moveBot = true;
str += toString((move) / 60);