diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-27 15:53:50 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:32:43 +0200 |
commit | a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8 (patch) | |
tree | 2577a11bb5507a14fdfdbcb74ab79912e0969a98 /src/control/Script2.cpp | |
parent | Fix IsSphereVisible calls (diff) | |
download | re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar.gz re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar.bz2 re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar.lz re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar.xz re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.tar.zst re3-a11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8.zip |
Diffstat (limited to 'src/control/Script2.cpp')
-rw-r--r-- | src/control/Script2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp index 5c953011..d3ab2af7 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -437,8 +437,8 @@ int8 CRunningScript::ProcessCommands300To399(int32 command) float length = *(float*)&ScriptParams[5]; float x, y; if (angle != 0.0f){ - y = cos(angle) * length; - x = sin(angle) * length; + y = Cos(angle) * length; + x = Sin(angle) * length; }else{ y = length; x = 0.0f; |