diff options
Diffstat (limited to 'engines/kyra/script.cpp')
-rw-r--r-- | engines/kyra/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script.cpp b/engines/kyra/script.cpp index 2bb3665e83..02b1874605 100644 --- a/engines/kyra/script.cpp +++ b/engines/kyra/script.cpp @@ -186,7 +186,7 @@ bool EMCInterpreter::run(EMCState *script) { // Should be no Problem at all to cast to uint32 here, since that's the biggest ptrdiff the original // would allow, of course that's not realistic to happen to be somewhere near the limit of uint32 anyway. - const uint32 instOffset = (uint32)((const byte*)script->ip - (const byte*)script->dataPtr->data); + const uint32 instOffset = (uint32)((const byte *)script->ip - (const byte *)script->dataPtr->data); int16 code = *script->ip++; int16 opcode = (code >> 8) & 0x1F; |