diff options
Diffstat (limited to 'engines/cruise/script.cpp')
-rw-r--r-- | engines/cruise/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp index cf28548e7d..d753d938bd 100644 --- a/engines/cruise/script.cpp +++ b/engines/cruise/script.cpp @@ -33,7 +33,7 @@ scriptInstanceStruct procHead; scriptInstanceStruct *currentScriptPtr; int8 getByteFromScript() { - int8 var = *(int8*)(currentData3DataPtr + currentScriptPtr->scriptOffset); + int8 var = *(int8 *)(currentData3DataPtr + currentScriptPtr->scriptOffset); ++currentScriptPtr->scriptOffset; return (var); @@ -202,7 +202,7 @@ int32 opcodeType1() { di = currentScriptPtr->overlayNumber; } - if ((var == 0x85) && !strcmp((char*)currentCtpName, "S26.CTP") && !di && mode == 1) { // patch in bar + if ((var == 0x85) && !strcmp((char *)currentCtpName, "S26.CTP") && !di && mode == 1) { // patch in bar var = 0x87; } |