Merge pull request #11 from cannelle/patch-1
Fix for incorrect mob_warpslave_sub and map_quit clear values.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -2815,7 +2815,7 @@ int mob_warpslave_sub(struct block_list *bl,va_list ap)
|
||||
return 0;
|
||||
|
||||
map_search_freecell(master, 0, &x, &y, range, range, 0);
|
||||
unit_warp(&md->bl, master->m, x, y,CLR_RESPAWN);
|
||||
unit_warp(&md->bl, master->m, x, y,CLR_TELEPORT);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user