aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/vm_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm_types.h b/engines/sci/engine/vm_types.h
index 734f4d3101..c3922b2bbb 100644
--- a/engines/sci/engine/vm_types.h
+++ b/engines/sci/engine/vm_types.h
@@ -46,7 +46,7 @@ struct reg_t {
uint32 getOffset() const;
void setOffset(uint32 offset);
- inline void incOffset(int16 offset) {
+ inline void incOffset(int32 offset) {
setOffset(getOffset() + offset);
}