summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 21:29:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 21:29:53 +0000
commitaf7240daba485aeb02311ba3bcd0d7584d978ae1 (patch)
tree768b182b63751e92f5d1f2588b03f5092dad25ee /src/map
parentaa6ac0eae2fbd0d9d460c46136a3aaf10a5540f0 (diff)
downloadhercules-af7240daba485aeb02311ba3bcd0d7584d978ae1.tar.gz
hercules-af7240daba485aeb02311ba3bcd0d7584d978ae1.tar.bz2
hercules-af7240daba485aeb02311ba3bcd0d7584d978ae1.tar.xz
hercules-af7240daba485aeb02311ba3bcd0d7584d978ae1.zip
- Fixed a compile warning this time ~.~
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5332 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 863c6cfbb..109969d55 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9626,7 +9626,7 @@ void clif_parse_UseItem(int fd, struct map_session_data *sd) {
n = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0])-2;
if(n <0 || n >= MAX_INVENTORY)
- return 0;
+ return;
if (!pc_useitem(sd,n))
clif_useitemack(sd,n,0,0); //Send an empty ack packet or the client gets stuck.
}