version 1.73 | | version 1.74 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.73 2005/09/16 01:02:06 qal21 Exp $"; | | * "$Id: time.c,v 1.74 2005/09/25 18:36:02 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 && quest_marker_compatible( op, tmp ) ) { /* we've got someone to MARK */ | | if(tmp->type == PLAYER) { /* we've got someone to MARK */ |
| | |
| | if ( quest_on_activate(op, tmp->contr) ) |
| | return; |
| | |
/* 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) { |
| | |
force->slaying = add_string(op->slaying); | | force->slaying = add_string(op->slaying); |
if ( op->lore ) | | if ( op->lore ) |
force->lore = add_string( 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); |