Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: minor bug fix in gods.c



A small patch for server/gods.c: when the god that you were
worshipping was nice enough to fix your drained stats, he
forgot to remove the archetype of depletion.  Silly him!

-Raphael


---------- cut here ---------- cut here ---------- cut here ----------
*** server/gods.c.orig	Wed Jul  3 14:58:30 1996
--- server/gods.c	Fri Jul 12 20:08:46 1996
***************
*** 194,199 ****
--- 194,201 ----
              if (get_attr_value(&depl->stats, i)) {
                new_draw_info(NDI_UNIQUE,0,op, restore_msg[i]);
              }
+         remove_ob(depl);
+         free_object(depl);
          fix_player(op);
          return;
       }
---------- cut here ---------- cut here ---------- cut here ----------