Re: Stock BUG!

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 09/10/97


On Wed, 10 Sep 1997, George wrote:

-+#define C_MOB_SPEC(zone,mob)    \
-+        if ((check = real_mobile(((zone)*100)+(mob))) < 0) {\
-+          log("Ack! A -1");     \
-+        } else \
-+          mob_index[check].func
-+
-+and to add an 'int check;' to the top of assign_kings_castle();

Why use 'check' at all?

  if (real_mobile(((zone)*100)+(mob))) < 0) { \

will work fine (er, should).


--
Daniel Koepke -:- dkoepke@california.com -:-  [Shadowlord/Nether]
Think.


     +------------------------------------------------------------+
     | 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