ULTIMA1: Fix generation of datafile index

This commit is contained in:
Paul Gilbert 2018-08-19 11:46:05 -07:00 committed by Paul Gilbert
parent 1d28e11285
commit 0a71d8cb6c

View File

@ -54,6 +54,8 @@ void Archive::save() {
_file.writeString(ae._name.c_str());
_file.writeLong(ae._offset);
_file.writeWord(ae._size);
dataOffset += ae._size;
}
if (_file.pos() % 2)
_file.writeByte(0);