COMMON: Increase Stream pos, seek, size from int32 to int64
This commit is contained in:
parent
956f53fd22
commit
005561d305
104 changed files with 291 additions and 276 deletions
|
@ -1876,7 +1876,7 @@ void ScriptLife::processLifeScript(int32 actorIdx) {
|
|||
if (scriptOpcode < ARRAYSIZE(function_map)) {
|
||||
end = function_map[scriptOpcode].function(_engine, ctx);
|
||||
} else {
|
||||
error("Actor %d with wrong offset/opcode - Offset: %d (opcode: %i)", actorIdx, ctx.stream.pos() - 1, scriptOpcode);
|
||||
error("Actor %d with wrong offset/opcode - Offset: %d (opcode: %i)", actorIdx, (int)ctx.stream.pos() - 1, scriptOpcode);
|
||||
}
|
||||
|
||||
if (end < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue