summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-24 11:01:07 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-24 11:01:07 +0200
commite95de89c9a748005d4495c0e7bfd0281ef39cd7c (patch)
treeee7f37224ef9f579bf08c314c6207344c32b3a74 /src/control/Script.cpp
parentOptimize ALDeviceList (diff)
downloadre3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar.gz
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar.bz2
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar.lz
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar.xz
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.tar.zst
re3-e95de89c9a748005d4495c0e7bfd0281ef39cd7c.zip
Diffstat (limited to '')
-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 082beda9..406b11b7 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -6212,7 +6212,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
}
CCranes::ActivateCrane(infX, supX, infY, supY,
*(float*)&ScriptParams[6], *(float*)&ScriptParams[7], *(float*)&ScriptParams[8],
- DEGTORAD(*(float*)&ScriptParams[8]), true, false,
+ DEGTORAD(*(float*)&ScriptParams[9]), true, false,
*(float*)&ScriptParams[0], *(float*)&ScriptParams[1]);
return 0;
}