degenerate board bug

From: Kras Kresh (
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.

   | FAQ: |
   | Archives: |
   | Newbie List:   |

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