From 32d5d6568057bf8a832e2c8566f3e4147544063b Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 7 Jun 2006 13:19:12 +0000 Subject: - Removed char_nick2id from char-sql server as it's no longer needed. - Fixed quitting the map server not properly saving the storage before deleting it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7030 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 3833acb34..a26430776 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1662,9 +1662,6 @@ int map_quit(struct map_session_data *sd) { npc_script_event(sd, NPCE_LOGOUT); if (sd->pd) unit_free(&sd->pd->bl); unit_free(&sd->bl); - pc_clean_skilltree(sd); - if(sd->pet.intimate > 0) - intif_save_petdata(sd->status.account_id,&sd->pet); chrif_save(sd,1); } else { //Try to free some data, without saving anything (this could be invoked on map server change. [Skotlex] if (sd->bl.prev != NULL) -- cgit v1.2.3-70-g09d2