Selaa lähdekoodia

Corrected map_quit call with CLR_RESPAWN instead of CLR_TELEPORT.

cannelle 11 vuotta sitten
vanhempi
commit
179ab138a3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/map/map.c

+ 1 - 1
src/map/map.c

@@ -1709,7 +1709,7 @@ int map_quit(struct map_session_data *sd) {
 		unit_remove_map(&sd->ed->bl,CLR_TELEPORT);
 	}
 
-	unit_remove_map_pc(sd,CLR_TELEPORT);
+	unit_remove_map_pc(sd,CLR_RESPAWN);
 
 	if( map[sd->bl.m].instance_id ) { // Avoid map conflicts and warnings on next login
 		int16 m;