Re: [code] This must be wrong....

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 08/16/98


On Sun, 16 Aug 1998, Christoffer Lundberg wrote:

->Is this a valid thing to write? It sure doesn't work anyways.
->
->if (world[ch->in_room].people == 0) {

Well, either,

  if (!world[ch->in_room].people)

or,

  if (world[ch->in_room].people == NULL)

-dak


     +------------------------------------------------------------+
     | 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/15/00 PST