summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-23 11:06:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-23 11:06:58 +0000
commita050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3 (patch)
tree93e52b49aaee75c70e52aa0400fe20814d38ec7a /src/map/clif.c
parent4161c99f71fbd824163356c642731f7599c291e2 (diff)
downloadhercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.gz
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.bz2
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.xz
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.zip
- Fixed warning about unused variable
- Made the kaahi heal timer function uncrashable. - Fixed pc move item to cart function checking against the wrong max index. - Fixed initialization of sd issue in map_addblock - Removed redundant reinitialization when parsing item pickup. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11968 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index cc71e670f..3ee08824c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8547,9 +8547,6 @@ void clif_parse_DropItem(int fd, struct map_session_data *sd)
{
int item_index = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0])-2;
int item_amount = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[1]);
-
- item_index = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0])-2;
- item_amount = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[1]);
do {
if (pc_isdead(sd))
break;