summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 19:23:32 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 19:23:32 +0000
commitce1208eb233cab2923c82ba61d546b108e056fc0 (patch)
treeb98845589591bf1c36da575b70f138a843e47b55 /src/map/pc.c
parentb8b21edf63e58270e7744548c73e1c5ef64b7950 (diff)
downloadhercules-ce1208eb233cab2923c82ba61d546b108e056fc0.tar.gz
hercules-ce1208eb233cab2923c82ba61d546b108e056fc0.tar.bz2
hercules-ce1208eb233cab2923c82ba61d546b108e056fc0.tar.xz
hercules-ce1208eb233cab2923c82ba61d546b108e056fc0.zip
* Added item type IT_CASH (item type 18) Requires user confirmation before using/generating item(s).
* Updated the item types for several of the cash item boxes to 18. * Fixed the Exorcism_Bible bonus, missing {}'s for who knows how long. (bugreport:4342) * Updated Brasilis monsters stats again, care of Playtester. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14549 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
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;