degenerate board bug

From: Kras Kresh (kras_kresh@hotmail.com)
Date: 03/07/02


Some people might want to carry a board and use it. However, the stock
boards.c code doesn't allow it and gives a log of degenerate board. We, also
don't want it to log that error since it isn't really an error. To change
that, we simply add the following to the function find_board().

  for (obj = ch->carrying; obj; obj = obj->next_content)
    for (i = 0; i < NUM_OF_BOARDS; i++)
      if (BOARD_RNUM(i) == GET_OBJ_RNUM(obj))
        return (i);


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT