From a093dbfa6658df2636c83afb833508cc08ecb018 Mon Sep 17 00:00:00 2001 From: codemaster Date: Wed, 24 Nov 2004 22:27:20 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@354 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 41cc4c13c..101dbbf7e 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9002,6 +9002,10 @@ void clif_parse_MoveToKafra(int fd, struct map_session_data *sd) { if (item_index < 0 || item_index >= MAX_INVENTORY) return; + if(itemdb_isdropable(sd->status.inventory[item_index].nameid) == 0) + + return; + if (sd->state.storage_flag) storage_guild_storageadd(sd, item_index, item_amount); else @@ -10023,6 +10027,9 @@ static int clif_parse(int fd) { map_deliddb(&sd->bl); // account_id has been included in the DB before auth answer } close(fd); + if (sd) // ’ljÁ + + map_deliddb(&sd->bl); // ’ljÁ delete_session(fd); return 0; } -- cgit v1.2.3-70-g09d2