[ BUG ] Missing code...

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


Banzai!

 In that MobProgs patch is one thing that I noticed... I'm not sure which
one it was... Maybe all of them?! I found it on George's page... Where
else :)

Mobprogs are not written to disk... :/ Weird.. ;>

Anyway,... this is what you have to do:

in void medit_save_to_disk()

 change: MPROG_DATA *mob_prog;
     to: MPROG_DATA *mob_prog = NULL;

This is just in case :)


Then also in voidmedit_save_to_disk()

     before: while(mob_prog) {
        add: mob_prog = GET_MPROG(mob);

That should do it... Now the actual mob_progs will be written to disk...


David!


     +------------------------------------------------------------+
     | 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