Minor Bug

From: James Snow (sno@mindvox.com)
Date: 07/23/96


Found a minor bug in the stock circle bpl 11 code.

In act.wizard.c....

  oldlevel = GET_LEVEL(victim);
  if (newlevel < GET_LEVEL(victim)) {
    do_start(victim);
    GET_LEVEL(victim) = newlevel;
    send_to_char("You are momentarily enveloped by darkness!\r\n"
                 "You feel somewhat diminished.\r\n", ch);


should be....


  oldlevel = GET_LEVEL(victim);
  if (newlevel < GET_LEVEL(victim)) {
    do_start(victim);
    GET_LEVEL(victim) = newlevel;
    act("You are momentarily enveloped by darkness!\r\n"
        "You feel somewhat diminished.\r\n", FALSE, ch, 0, victim, TO_VICT);


It was sending the msg meant for the player/victim to the God.


-sno


+ + + + + + + + + + +  ____    ___     ___   + + + + + + + + + + +
+     James Snow    + /',__\ / '_ `\  / __`\ +     Tai Moro!     +
+ + + + + + + + + + +/\__, `\/\ \/\ \/\ \L\ \+ + + + + + + + + + +
+  sno@mindvox.com  +\/\____/\ \_\ \_\ \____/+ I Will Not Serve! +
+ + + + + + + + + + + \/___/  \/_/\/_/\/___/ + + + + + + + + + + +



This archive was generated by hypermail 2b30 : 12/07/00 PST