> /*. Update shop keepers .*/
> for(shop = 0; shop <= top_shop; shop++)
>   if(SHOP_KEEPER(shop) > new_mob_num)
>     SHOP_KEEPER(shop)++;
Simple fix, just add this in front of it:
if (top_shop)
If no shops are created, it skips the entire thing altogether.
     +------------------------------------------------------------+
     | 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