diff options
Diffstat (limited to 'engines/cruise/function.cpp')
-rw-r--r-- | engines/cruise/function.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index 812985c0b0..a47e759e75 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -26,6 +26,7 @@ #include "cruise/cruise.h" #include "cruise/cruise_main.h" #include "cruise/cell.h" +#include "cruise/staticres.h" #include "common/util.h" namespace Cruise { @@ -1126,11 +1127,11 @@ int16 Op_AddAnimation(void) { si->stepX = stepX; si->stepY = stepY; - int newFrame = ABS(raoul_end[direction][0]) - 1; + int newFrame = ABS(actor_end[direction][0]) - 1; int zoom = computeZoom(params.Y); - if (raoul_end[direction][0] < 0) { + if (actor_end[direction][0] < 0) { zoom = -zoom; } |