[ BUGfix] ] OasisOLC v1.5

From: David Klasinc (bigwhale@CAPYBARA.SK-PTTSC.LJ.EDUS.SI)
Date: 11/14/97


Here's how I fixed it..

in comm.c all the faulty case OLC_SAVE_XXX should bre replaced with this:

        case OLC_SAVE_ROOM: redit_save_to_disk(i); break;
        case OLC_SAVE_OBJ:  oedit_save_to_disk(i); break;
        case OLC_SAVE_MOB:  medit_save_to_disk(i); break;
        case OLC_SAVE_ZONE: zedit_save_to_disk(i); break;
        case OLC_SAVE_SHOP: sedit_save_to_disk(i); break;

and Just before switch (entry->type) {

you should add:

       for (i = 0; i <= top_of_zone_table; i++)
          if (zone_table[i].number == entry->zone)

That solved my problem... Oh, and of course... declare int i; also... :)


     | 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