version 1.37 | | version 1.38 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.37 2003/02/04 07:25:58 garbled Exp $"; | | * "$Id: skills.c,v 1.38 2003/02/21 07:55:37 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
pl->x = x; | | pl->x = x; |
pl->y = y; | | pl->y = y; |
pl->map = m; | | pl->map = m; |
| | if (pl->contr) |
| | esrv_map_scroll(&pl->contr->socket, dx, dy); |
(void) stop_jump(pl,i,spaces); | | (void) stop_jump(pl,i,spaces); |
return calc_skill_exp(pl,NULL); | | return calc_skill_exp(pl,NULL); |
} | | } |
| | |
pl->x = x; | | pl->x = x; |
pl->y = y; | | pl->y = y; |
pl->map = m; | | pl->map = m; |
| | if (pl->contr) |
| | esrv_map_scroll(&pl->contr->socket, dx, dy); |
} | | } |
(void) stop_jump(pl,i,spaces); | | (void) stop_jump(pl,i,spaces); |
return calc_skill_exp(pl,NULL); | | return calc_skill_exp(pl,NULL); |