summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 21:26:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 21:26:01 +0000
commitaa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0 (patch)
treef94777cdb74d97c7d8333064d491971233b90d94 /src/map/pc.c
parentc071261e8ac92dff5f47969386da189407c8346d (diff)
downloadhercules-aa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0.tar.gz
hercules-aa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0.tar.bz2
hercules-aa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0.tar.xz
hercules-aa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0.zip
- Oops, fixed the compilation error.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5331 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 2730baa79..1517cb17c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2814,9 +2814,6 @@ int pc_useitem(struct map_session_data *sd,int n)
nullpo_retr(0, sd);
- if(n <0 || n >= MAX_INVENTORY)
- return 0;
-
if(sd->status.inventory[n].nameid <= 0 ||
sd->status.inventory[n].amount <= 0)
return 0;