version 1.116 | | version 1.117 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.116 2005/02/20 20:43:13 akirschbaum Exp $"; | | * "$Id: apply.c,v 1.117 2005/02/27 18:05:44 majorwoo Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
player * pp; | | player * pp; |
mapstruct * exitmap; | | mapstruct * exitmap; |
if (exit->stats.exp!=1) return 1; /*This is not a 2 way, so it is legal*/ | | if (exit->stats.exp!=1) return 1; /*This is not a 2 way, so it is legal*/ |
| | if (!has_been_loaded(EXIT_PATH(exit)) && exit->race) return 0; /* This is a reset town portal */ |
/* To know if an exit has a correspondant, we look at | | /* To know if an exit has a correspondant, we look at |
* all the exits in destination and try to find one with same path as | | * all the exits in destination and try to find one with same path as |
* the current exit's position */ | | * the current exit's position */ |