summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcannelle <starfish2700@gmail.com>2013-09-27 16:34:25 -0500
committercannelle <starfish2700@gmail.com>2013-09-27 16:34:25 -0500
commit84b3b60a846bc01a2bdefcd16f0d345bdc35edda (patch)
treee6ae48a2683980542c74b03b47c44d1fae75abb9
parentaf4d9171df5631968b8e20660856828b5bb346ab (diff)
downloadhercules-84b3b60a846bc01a2bdefcd16f0d345bdc35edda.tar.gz
hercules-84b3b60a846bc01a2bdefcd16f0d345bdc35edda.tar.bz2
hercules-84b3b60a846bc01a2bdefcd16f0d345bdc35edda.tar.xz
hercules-84b3b60a846bc01a2bdefcd16f0d345bdc35edda.zip
Corrected map_quit call with CLR_RESPAWN instead of CLR_TELEPORT.
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 09defc75a..e121f0d55 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1597,7 +1597,7 @@ int map_quit(struct map_session_data *sd) {
clif->chsys_quit(sd);
- unit->remove_map_pc(sd,CLR_TELEPORT);
+ unit->remove_map_pc(sd,CLR_RESPAWN);
if( maplist[sd->bl.m].instance_id >= 0 ) { // Avoid map conflicts and warnings on next login
int16 m;