When a room is deleted, it is set to "1" or stored as 31 on file.
When I read back the file all the deleted rooms contain "31" in the expected position. When this is converted back the deleted field is 1 except for the last record which is -1. The last record fails my test to check if a room is deleted. However, if I check for the absolute value of deleted, it works fine. It works, but probably for the wrong reasons. I just want to check this is ok and not some dodgy code that will score badly.
I know its the last record, but I'm not reading the whole of the last record only a small portion of it so I wouldn't be expecting a -1 just yet.