summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-17 12:24:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-17 12:24:04 +0200
commita9a62a8641571bb68564714907bb4bc1be29bc6c (patch)
treea780de15ce8d6fdd336fd10a96da39bc2a845cb1 /src/control
parentmore fixes; started CAutomobile::ProcessControl (diff)
downloadre3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.gz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.bz2
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.lz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.xz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.zst
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.zip
Diffstat (limited to 'src/control')
-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:
{