aboutsummaryrefslogtreecommitdiff
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-08-03 04:00:12 +0300
committereray orçunus <erayorcunus@gmail.com>2020-08-03 16:00:32 +0300
commite14252914e9bd4cf7702479b5e0b050b935ba4aa (patch)
treedf42291b9b6745f86097de4d58fc55e6a64b1b8c /src/render/Fluff.cpp
parenta786dd45a4ebc6b91936b5e46d0ef0a9befc05af (diff)
Squeeze performance option, minor fixes
Fixes are already in miami
Diffstat (limited to 'src/render/Fluff.cpp')
-rw-r--r--src/render/Fluff.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp
index f86801bf..690a1d3f 100644
--- a/src/render/Fluff.cpp
+++ b/src/render/Fluff.cpp
@@ -152,9 +152,9 @@ void CMovingThings::Shutdown()
void CMovingThings::Update()
{
- const int TIME_SPAN = 64; // frames to process all aMovingThings
-
int16 i;
+#ifndef SQUEEZE_PERFORMANCE
+ const int TIME_SPAN = 64; // frames to process all aMovingThings
int block = CTimer::GetFrameCounter() % TIME_SPAN;
@@ -167,6 +167,7 @@ void CMovingThings::Update()
if (aMovingThings[i].m_nHidden == 0)
aMovingThings[i].Update();
}
+#endif
for (i = 0; i < ARRAY_SIZE(aScrollBars); ++i)
{