idz: Add field "c" to story cell tuple
This commit is contained in:
committed by
da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent
46499a5425
commit
ccd5fd72c8
@@ -19,7 +19,8 @@ export function saveProfile2(buf: Buffer): SaveProfileRequest {
|
||||
for (let j = 0; j < 9; j++) {
|
||||
const a = buf.readUInt32LE(rowOffset + 0x04 + j * 4);
|
||||
const b = buf.readUInt16LE(rowOffset + 0x28 + j * 2);
|
||||
const cell = { a, b };
|
||||
const c = 0; // Added in idz2
|
||||
const cell = { a, b, c };
|
||||
|
||||
cells.set(j, cell);
|
||||
}
|
||||
|
||||
@@ -21,7 +21,8 @@ export function saveProfile3(buf: Buffer): SaveProfileRequest {
|
||||
for (let j = 0; j < 9; j++) {
|
||||
const a = buf.readUInt8(rowOffset + 0x00 + j);
|
||||
const b = buf.readUInt8(rowOffset + 0x09 + j);
|
||||
const cell = { a, b };
|
||||
const c = 0; // Added in idz2
|
||||
const cell = { a, b, c };
|
||||
|
||||
cells.set(j, cell);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user