version 1.63 | | version 1.64 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.63 2005/07/16 21:10:39 akirschbaum Exp $"; | | * "$Id: c_wiz.c,v 1.64 2005/07/17 11:22:51 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
pl = get_other_player_from_name(op, params); | | pl = get_other_player_from_name(op, params); |
if (!pl) return 1; | | if (!pl) return 1; |
| | |
i=find_free_spot(op->arch,op->map,op->x,op->y,1,8); | | i=find_free_spot(op->arch,op->map,op->x,op->y,1,9); |
if (i==-1) { | | if (i==-1) { |
new_draw_info(NDI_UNIQUE, 0, op, "Can not find a free spot to place summoned player."); | | new_draw_info(NDI_UNIQUE, 0, op, "Can not find a free spot to place summoned player."); |
return 1; | | return 1; |
| | |
pl = get_other_player_from_name(op, params); | | pl = get_other_player_from_name(op, params); |
if (!pl) return 1; | | if (!pl) return 1; |
| | |
i = find_free_spot(pl->ob->arch, pl->ob->map, pl->ob->x, pl->ob->y, 1, 8); | | i = find_free_spot(pl->ob->arch, pl->ob->map, pl->ob->x, pl->ob->y, 1, 9); |
if (i==-1) { | | if (i==-1) { |
new_draw_info(NDI_UNIQUE, 0, op, "Can not find a free spot to teleport to."); | | new_draw_info(NDI_UNIQUE, 0, op, "Can not find a free spot to teleport to."); |
return 1; | | return 1; |