[CF-Devel] A bug with the new gods code?

Jan Echternach echter at informatik.uni-rostock.de
Fri Jan 5 05:56:57 CST 2001


On Thu, Jan 04, 2001 at 11:11:46PM -0800, Peter Mardahl wrote:
>
     
      Today the spell "small fireball" was withdrawn from dnh
     
     >
     
      when he switched religions.  small fireball is NOT
     
     >
     
      a divinely granted spell....
     
     
I think I've spotted the bug:  do_learn_spell() will teach the player
all new spells as if they are special prayers.  Please try changing

  insert_special_prayer_mark (op, spell);

to

  if (special_prayer)
      insert_special_prayer_mark (op, spell);

-- 
Jan

    
    


More information about the crossfire mailing list