summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-03 21:19:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-03 21:19:38 +0300
commit0d7d3fd2888cf59ed41bc16c3305582ca64e7596 (patch)
tree208c9f22788ffff2c6a0ed7d8d513df9467df824
parent465209abe64f20084c343fdce3e94aabd7d87023 (diff)
downloadplus-0d7d3fd2888cf59ed41bc16c3305582ca64e7596.tar.gz
plus-0d7d3fd2888cf59ed41bc16c3305582ca64e7596.tar.bz2
plus-0d7d3fd2888cf59ed41bc16c3305582ca64e7596.tar.xz
plus-0d7d3fd2888cf59ed41bc16c3305582ca64e7596.zip
Fix compilation warning.
-rw-r--r--src/actormanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index bfcc92e81..f305fae8f 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1966,8 +1966,8 @@ void ActorManager::updateNameId(const std::string &name,
return;
const int id = static_cast<int>(beingId);
if (id &&
- id < 2000000 ||
- id >= 110000000)
+ (id < 2000000 ||
+ id >= 110000000))
{
return;
}