summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 15:46:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 15:46:36 +0000
commitb8e86044ea41feb23de00bd36b45b80d9837425f (patch)
tree43f4f14680f5245c68fb64ac4083983feef0d566 /src/map/atcommand.c
parent3fc3bc499c203c6cb17d10709bf1f589a44d0642 (diff)
downloadhercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.gz
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.bz2
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.xz
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.zip
- Small bug fixes found during merging to stable process, includes correct HP scaling when hp-meter is enabled and max hp is above SHRT_MAX
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7802 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index a08023dc1..54d2949f6 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2571,7 +2571,7 @@ int atcommand_item(
item_id = item_data->nameid;
get_count = number;
//Check if it's stackable.
- if (itemdb_isstackable2(item_data))
+ if (!itemdb_isstackable2(item_data))
get_count = 1;
for (i = 0; i < number; i += get_count) {