diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-20 13:03:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-20 13:03:01 +0300 |
commit | 00dcbde760c522405ba94fbff747c7d8e083c811 (patch) | |
tree | dcc73ffb75d94e5569ec11aca3d7923240d9817e /src/commands.cpp | |
parent | 2008152818c796daf526a874d18a7e77c87d423c (diff) | |
download | manaplus-00dcbde760c522405ba94fbff747c7d8e083c811.tar.gz manaplus-00dcbde760c522405ba94fbff747c7d8e083c811.tar.bz2 manaplus-00dcbde760c522405ba94fbff747c7d8e083c811.tar.xz manaplus-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.cpp | 2 |
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(); |