summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2015-11-21 05:33:21 +0800
committerAnnieRuru <jeankof@ymail.com>2015-11-21 05:33:21 +0800
commit056541d6da7b322ee53f533205aa128cc2841f93 (patch)
tree8553b0e5f85acff73dcfb0e25c0dded983fb5921 /src/map/script.c
parent3eb8f6cc123835fae6bbd847f02cdd45fcfccd60 (diff)
downloadhercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.gz
hercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.bz2
hercules-056541d6da7b322ee53f533205aa128cc2841f93.tar.xz
hercules-056541d6da7b322ee53f533205aa128cc2841f93.zip
This reverts commit 3eb8f6cc123835fae6bbd847f02cdd45fcfccd60.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
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;