aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-18 20:29:03 +0200
committerEugene Sandulenko2019-09-03 17:16:48 +0200
commit89b19a1825691dd6177929096efa5aba0c6a2d9c (patch)
tree12823f6285f8fb21547a61b2c59446056862753a
parenteecfb961b0bb67e4bf0b883c3317f3083777966d (diff)
downloadscummvm-rg350-89b19a1825691dd6177929096efa5aba0c6a2d9c.tar.gz
scummvm-rg350-89b19a1825691dd6177929096efa5aba0c6a2d9c.tar.bz2
scummvm-rg350-89b19a1825691dd6177929096efa5aba0c6a2d9c.zip
HDB: Fix camera setting
-rw-r--r--engines/hdb/ai.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp
index 90fbb14f52..0562b39e45 100644
--- a/engines/hdb/ai.cpp
+++ b/engines/hdb/ai.cpp
@@ -203,6 +203,7 @@ void AI::cineMoveCamera(int x, int y, int speed) {
cmd->start = 0;
cmd->x = x * kTileWidth;
cmd->y = y * kTileHeight;
+ cmd->speed = speed;
debug("Setting up C_MOVECAMERA: x: %f, y: %f", cmd->x, cmd->y);
cmd->cmdType = C_MOVECAMERA;
_cine.push_back(cmd);