summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-17 12:26:45 +0200
committerGitHub <noreply@github.com>2019-07-17 12:26:45 +0200
commit3bda0da403ef4c7cd989fff8035863c5a39b009a (patch)
tree08e908d1ec1fa35efc9626ad3662b71ed10025c5 /src/control/Script.cpp
parentmore fixes; started CAutomobile::ProcessControl (diff)
parentfix fix (diff)
downloadre3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar.gz
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar.bz2
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar.lz
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar.xz
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.tar.zst
re3-3bda0da403ef4c7cd989fff8035863c5a39b009a.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 88537da8..5e9f51af 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -710,7 +710,7 @@ int8 CRunningScript::ProcessCommandsFrom0To99(int32 command)
return 0;
case COMMAND_SHAKE_CAM:
CollectParameters(&m_nIp, 1);
- TheCamera.CamShake(ScriptParams[0] / 1000.0f);
+ CamShakeNoPos(&TheCamera, ScriptParams[0] / 1000.0f);
return 0;
case COMMAND_SET_VAR_INT:
{