version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_server_c = | | * static char *rcsid_server_c = |
* "$Id: server.c,v 1.4 2006/08/05 08:56:35 ryo_saeba Exp $"; | | * "$Id: server.c,v 1.5 2006/08/12 19:38:23 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (op->map!=NULL) | | if (op->map!=NULL) |
{ | | { |
/* Lauwenmark : Here we handle the MAPLEAVE global event */ | | /* Lauwenmark : Here we handle the MAPLEAVE global event */ |
execute_global_event(EVENT_MAPLEAVE, op); | | execute_global_event(EVENT_MAPLEAVE, op, op->map); |
} | | } |
/* remove_ob clears these so they must be reset after the remove_ob call */ | | /* remove_ob clears these so they must be reset after the remove_ob call */ |
op->x = x; | | op->x = x; |
| | |
insert_ob_in_map(op,op->map,NULL,INS_NO_WALK_ON); | | insert_ob_in_map(op,op->map,NULL,INS_NO_WALK_ON); |
| | |
/* Lauwenmark : Here we handle the MAPENTER global event */ | | /* Lauwenmark : Here we handle the MAPENTER global event */ |
execute_global_event(EVENT_MAPENTER, op); | | execute_global_event(EVENT_MAPENTER, op, op->map); |
| | |
if (!op->contr->hidden) | | if (!op->contr->hidden) |
newmap->players++; | | newmap->players++; |