summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-11 15:39:35 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-11 15:39:35 +0200
commitf0b15ee053ec0e4a26652f552e59701a778a201a (patch)
treed57abdfde1eb05f5999a9857a0473cde68239dca /src/render/Fluff.cpp
parentfixes (diff)
parentMerge pull request #701 from erorcun/miami (diff)
downloadre3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar.gz
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar.bz2
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar.lz
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar.xz
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.tar.zst
re3-f0b15ee053ec0e4a26652f552e59701a778a201a.zip
Diffstat (limited to '')
-rw-r--r--src/render/Fluff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp
index 77d2af2a..31bf92a8 100644
--- a/src/render/Fluff.cpp
+++ b/src/render/Fluff.cpp
@@ -1611,13 +1611,13 @@ void CScriptPath::Clear(void) {
m_state = SCRIPT_PATH_DISABLED;
}
-void CScriptPath::InitialiseOne(int32 numNodes, float width) {
+void CScriptPath::InitialiseOne(int32 numNodes, float length) {
char Dest[32];
sprintf(Dest, "data\\paths\\spath%d.dat", numNodes);
m_pNode = CPlane::LoadPath(Dest, m_numNodes, m_fTotalLength, false);
m_fSpeed = 1.0f;
m_fPosition = 0.0f;
- m_fObjectLength = width;
+ m_fObjectLength = length;
m_state = SCRIPT_PATH_INITIALIZED;
}
@@ -1697,7 +1697,7 @@ INITSAVEBUF
VALIDATESAVEBUF(*size);
}
-CObject* g_pScriptPathObjects[18];
+CObject *g_pScriptPathObjects[18];
void CScriptPaths::Load_ForReplay(void) {
for (int i = 0; i < 3; i++) {