More bugfixing on today's agenda (indeed, the majority of the remaining tasks are all bugs or tweaks of some kind). First up was a slight problem with the Project I/O, which was failing to save a couple of important variables - this in itself is no big headache, as I've plenty of variables to add to the load and save routines, but it does mean that I'll need to methodically step through every variable to ensure that, if needed, it's included.
While testing some code, a bug in the Map resizing code reared its ugly head once again (it was a relatively obscure problem which I though I'd seen the back of). The main problem with bugs at this point in development is the fact that so many bits of code are inter-dependant; smaller, more modular routines are called in various places by different functions, and thus, when code is added or tweaked it's very easy to break things that once worked perfectly.
This particular bug, thankfully, turned out to be a small cut & paste error (I'd copied a chunk of code but neglected to change all the variable references). I discovered that, due to the fact I tested the routines in a very linear fashion, the bug only surfaced when I did something I wouldn't try normally. Hopefully my Beta Testers are reading this...!
