summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/mmo.h1
-rw-r--r--src/map/pc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index fd29bc211..d2bc93a04 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -181,6 +181,7 @@ enum item_types {
IT_UNKNOWN2,//9
IT_AMMO, //10
IT_DELAYCONSUME,//11
+ IT_CASH = 18,
IT_MAX
};
diff --git a/src/map/pc.c b/src/map/pc.c
index ac352524e..9d8ad29b0 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3529,7 +3529,7 @@ int pc_isUseitem(struct map_session_data *sd,int n)
if( item == NULL )
return 0;
//Not consumable item
- if( item->type != IT_HEALING && item->type != IT_USABLE )
+ if( item->type != IT_HEALING && item->type != IT_USABLE && item->type != IT_CASH )
return 0;
if( !item->script ) //if it has no script, you can't really consume it!
return 0;