Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/GameLogic/SCA_TimeEventManager.cpp')
-rw-r--r--source/gameengine/GameLogic/SCA_TimeEventManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_TimeEventManager.cpp b/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
index c56a1496823..7aa57b1b6b3 100644
--- a/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_TimeEventManager.cpp
@@ -75,7 +75,7 @@ void SCA_TimeEventManager::NextFrame(double curtime, double fixedtime)
if (m_timevalues.size() > 0 && fixedtime > 0.0)
{
CFloatValue* floatval = new CFloatValue(curtime);
-
+
// update sensors, but ... need deltatime !
for (vector<CValue*>::iterator it = m_timevalues.begin();
!(it == m_timevalues.end()); ++it)
@@ -84,7 +84,7 @@ void SCA_TimeEventManager::NextFrame(double curtime, double fixedtime)
floatval->SetFloat(newtime);
(*it)->SetValue(floatval);
}
-
+
floatval->Release();
}
}