From b8e86044ea41feb23de00bd36b45b80d9837425f Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 21 Jul 2006 15:46:36 +0000 Subject: - 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 --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') 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) { -- cgit v1.2.3-70-g09d2