Re: [CODE][BUG] Shop bugs (top_shop_offset)

From: George Greer (
Date: 08/09/01

On Thu, 9 Aug 2001, Mike Breuer wrote:

>Of course, if you ever try to access shop_index[top_shop] (or
>shop_index[top_shop - top_shop_index + 1], which is the same thing), you
>will probably crash.

"top_shop = top_shop - top_shop_offset + 1" for older than bpl16.  For
bpl16 and later, top_shop_index should be 0. If you lost the top shop, you
likely had it set wrong with regard to what your existing code did. In
particular, if you incremented the _CIRCLEMUD variable but didn't change
shop.c accordingly in bpl16 then you would have problems.

George Greer

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST