aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/function.cpp')
-rw-r--r--engines/cruise/function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp
index 0f601a582b..6c8608b4fd 100644
--- a/engines/cruise/function.cpp
+++ b/engines/cruise/function.cpp
@@ -112,7 +112,7 @@ int16 Op_Exec(void) {
ptr2 = ptr;
for (i = 0; i < numOfArgToPop; i++) {
- saveShort(ptr2, popTable[i]);
+ WRITE_BE_UINT16(ptr2, popTable[i]);
ptr2 += 2;
}