version 1.68 | | version 1.69 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.68 2005/03/06 20:38:55 akirschbaum Exp $"; | | * "$Id: time.c,v 1.69 2005/07/14 16:21:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for(tmp=get_map_ob(op->map,op->x,op->y);tmp!=NULL;tmp=tmp->above) { | | for(tmp=get_map_ob(op->map,op->x,op->y);tmp!=NULL;tmp=tmp->above) { |
| | |
| | |
if(tmp->type == PLAYER) { /* we've got someone to MARK */ | | if(tmp->type == PLAYER && quest_marker_compatible( op, tmp ) ) { /* we've got someone to MARK */ |
| | |
/* remove an old force with a slaying field == op->name */ | | /* remove an old force with a slaying field == op->name */ |
for(tmp2=tmp->inv;tmp2 !=NULL; tmp2=tmp2->below) { | | for(tmp2=tmp->inv;tmp2 !=NULL; tmp2=tmp2->below) { |
| | |
update_ob_speed (force); | | update_ob_speed (force); |
/* put in the lock code */ | | /* put in the lock code */ |
force->slaying = add_string(op->slaying); | | force->slaying = add_string(op->slaying); |
| | if ( op->lore ) |
| | force->lore = add_string( op->lore ); |
| | quest_clear_markers( op, tmp ); |
insert_ob_in_ob(force,tmp); | | insert_ob_in_ob(force,tmp); |
if(op->msg) | | if(op->msg) |
new_draw_info(NDI_UNIQUE|NDI_NAVY,0,tmp,op->msg); | | new_draw_info(NDI_UNIQUE|NDI_NAVY,0,tmp,op->msg); |