summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-20 13:03:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-20 13:03:01 +0300
commit00dcbde760c522405ba94fbff747c7d8e083c811 (patch)
treedcc73ffb75d94e5569ec11aca3d7923240d9817e /src/commands.cpp
parent2008152818c796daf526a874d18a7e77c87d423c (diff)
downloadmanaverse-00dcbde760c522405ba94fbff747c7d8e083c811.tar.gz
manaverse-00dcbde760c522405ba94fbff747c7d8e083c811.tar.bz2
manaverse-00dcbde760c522405ba94fbff747c7d8e083c811.tar.xz
manaverse-00dcbde760c522405ba94fbff747c7d8e083c811.zip
Some bugfix in item creation logic.
not show items with id < 500.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index e0bb195d0..cf1e049f6 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1209,7 +1209,7 @@ impHandler0(createItems)
{
const ItemInfo *const info = (*it).second;
const int id = info->getId();
- if (id <= 0)
+ if (id <= 500)
continue;
const int colors = info->getColorsSize();