summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-06 09:00:18 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-06 09:00:18 +0000
commitb1a8b920af2b39f546cd3408af893741fc94e12b (patch)
treedf3f463a7b0b48bec7d366e7564461f1e224ad27 /src/map/map.c
parentcb2bb1dc2f9b4efc8925542c6162adcedac9c0b1 (diff)
downloadhercules-b1a8b920af2b39f546cd3408af893741fc94e12b.tar.gz
hercules-b1a8b920af2b39f546cd3408af893741fc94e12b.tar.bz2
hercules-b1a8b920af2b39f546cd3408af893741fc94e12b.tar.xz
hercules-b1a8b920af2b39f546cd3408af893741fc94e12b.zip
* 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
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c1
1 files changed, 1 insertions, 0 deletions
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);