Quote:
Originally Posted by PowerWyrm
That's what the code does everywhere. The main reason is to put zero as index in the savefiles where there is nothing to save, while keeping a trivial loading routine: read index, assign struct = structs[index]. Otherwise, you would have to check the index, see if it's zero, assign null in that case, assign struct = structs[index-1] in other cases.
|
Ah, so that's how it was (angband now saves artefact names as strings instead).