summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 070722866..6aa199d1b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5430,9 +5430,7 @@ int buildin_delitem(struct script_state *st)
}
//is this item important? does it have cards? or Player's name? or Refined/Upgraded
if(itemdb_isspecial(sd->status.inventory[i].card[0]) ||
- sd->status.inventory[i].card[1] ||
- sd->status.inventory[i].card[2] ||
- sd->status.inventory[i].card[3] ||
+ sd->status.inventory[i].card[0] ||
sd->status.inventory[i].refine) {
//this is important item, count it (except for pet eggs)
if(sd->status.inventory[i].card[0] != CARD0_PET)