Skip to content

Commit

Permalink
Removed a redundant death check in recallall
Browse files Browse the repository at this point in the history
This check is also done in pc_setpos. It additionally ignores one of the configurations by doing this here.
  • Loading branch information
Lemongrass3110 committed Apr 24, 2016
1 parent de8c0b7 commit 0a92487
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/map/atcommand.c
Expand Up @@ -3605,10 +3605,6 @@ ACMD_FUNC(recallall)
if (pl_sd->bl.m >= 0 && map[pl_sd->bl.m].flag.nowarp && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE))
count++;
else {
if (pc_isdead(pl_sd)) { //Wake them up
pc_setstand(pl_sd, true);
pc_setrestartvalue(pl_sd,1);
}
pc_setpos(pl_sd, sd->mapindex, sd->bl.x, sd->bl.y, CLR_RESPAWN);
}
}
Expand Down

0 comments on commit 0a92487

Please sign in to comment.