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:
authorCampbell Barton <ideasman42@gmail.com>2012-04-11 12:15:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-11 12:15:13 +0400
commitb4a0152e76683dfb170c3e2796e15e1b5b67e2ab (patch)
tree15466a4e658f8fd42d55b9748bbeb6f02c12ba30 /source/gameengine/GamePlayer/ghost
parent9ae0523921fa4baeb37bcdd36f208da952f4337f (diff)
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_System.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_System.cpp b/source/gameengine/GamePlayer/ghost/GPG_System.cpp
index d5e45029679..6710572d843 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_System.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_System.cpp
@@ -46,7 +46,7 @@ double GPG_System::GetTimeInSeconds()
{
GHOST_TInt64 millis = (GHOST_TInt64)m_system->getMilliSeconds();
double time = (double)millis;
- time /= 1000.;
+ time /= 1000.0f;
return time;
}