The Dink Network

Reply to Re: Magic gets messed up when saving

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 5th 2011, 07:57 AM
boncag.gif
JugglingDink
Peasant He/Him United Kingdom
Streetfish 
Huh... I hadn't thought of doing it that way. I made a global called &oldmagic, which was updated whenever the player saved. So the save machine had &oldmagic = &cur_magic just before the save_game();.

And then in START-2.C (or whichever it is for loading) I had it load the game then &cur_magic = &oldmagic then arm_magic();. Not sure why, but that didn't work. Skull's way might though, I'm not sure... Anyway, it's all too much hassle and I've already removed the other magic now so... Yeah. Other than this, my DMOD's coming along nicely now.

I had a bit of a scare earlier when I realised how far behind schedule I was, but I'm managing to speed up a bit (hopefully I don't get too sloppy).