Re: A botched "do_advance"

From: Will Andrews (ironwill@CARDINA.NET)
Date: 11/15/97


>  }
>  if (newlevel > GET_LEVEL(ch)) {
>    send_to_char("Yeah, right.\r\n", ch);
>    return;
>  }
Umm.. I think it should be:

   }
   if (newlevel < GET_LEVEL(ch)) {
   ...
   }

It's logic: if newlevel is greater than GET_LEVEL(ch), then
what this part of the function does would be illogical.

--Acme

-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`-`+`
Will Andrews (ironwill@cardina.net) (andrews@technologist.com)
IRC -- Internet Relay Chat        |*|   Acme on IRC
Primer: http://www.irchelp.org    |*|   School: http://www.dcds.edu
              "Try, no; do or do not. There is no try."   -Yoda
-`+`-`+`-`+`-`+`-[.sig last updated on Mon 11/10/97]-`+`-`+`-`+`-`+`-`+`


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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