From b1a8b920af2b39f546cd3408af893741fc94e12b Mon Sep 17 00:00:00 2001 From: celest Date: Wed, 6 Apr 2005 09:00:18 +0000 Subject: * Skip partner checking when calculating status with Marionette Control on * Fixed plagiarised skills become unuseable after saving character * Fixed double skill fail messages for stone curse * Added modulus by zero check to rand() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1419 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index f17fdaf20..14665fd54 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1541,6 +1541,7 @@ int map_quit(struct map_session_data *sd) { if(pc_isdead(sd)) pc_setrestartvalue(sd,2); + pc_clean_skilltree(sd); pc_makesavestatus(sd); chrif_save(sd); storage_storage_dirty(sd); -- cgit v1.2.3-70-g09d2