Le Mardi 8 Mai 2001 16:54, vous avez écrit : > gros wrote: > > Here is a bugfix for that. Change the update_priest_flag to: > > Just out of curiousity, if a wraith joins the Devourers, then changes > away, will this bug fix make the wraith non-undead? > > :) > > Thanks, > > SeanMike No, the Wraith will stay an undead. NB: You can safely remove the "printf" lines included in the bugfix, they were there only for quick-and-dirty debugging purpose; that gives the following code (the bugfix only adds one line to the original code): void update_priest_flag (object *god, object *exp_ob, uint32 flag) { if(QUERY_FLAG(god,flag)&&!QUERY_FLAG(exp_ob,flag)) SET_FLAG(exp_ob,flag); else if(QUERY_FLAG(exp_ob,flag)&&!QUERY_FLAG(god,flag)) { if (!(QUERY_FLAG(arch_to_object(exp_ob->arch),flag))) CLEAR_FLAG(exp_ob,flag); }; }