diff options
author | AnnieRuru <jeankof@ymail.com> | 2015-11-21 05:33:21 +0800 |
---|---|---|
committer | AnnieRuru <jeankof@ymail.com> | 2015-11-21 05:33:21 +0800 |
commit | 056541d6da7b322ee53f533205aa128cc2841f93 (patch) | |
tree | 8553b0e5f85acff73dcfb0e25c0dded983fb5921 /src | |
parent | 3eb8f6cc123835fae6bbd847f02cdd45fcfccd60 (diff) | |
download | hercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.gz hercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.bz2 hercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.xz hercules-056541d6da7b322ee53f533205aa128cc2841f93.zip |
This reverts commit 3eb8f6cc123835fae6bbd847f02cdd45fcfccd60.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 053917259..cfc7ed052 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7110,7 +7110,7 @@ BUILDIN(getitem) { return true; //Check if it's stackable. - if (!itemdb->isstackable(nameid) || item_data->flag.force_serial) + if (!itemdb->isstackable(nameid)) get_count = 1; else get_count = amount; @@ -7218,7 +7218,7 @@ BUILDIN(getitem2) item_tmp.card[3]=(short)c4; //Check if it's stackable. - if (!itemdb->isstackable(nameid) || item_data->flag.force_serial) + if (!itemdb->isstackable(nameid)) get_count = 1; else get_count = amount; |