Warning fixes.

This commit is contained in:
Tleety
2016-02-08 16:02:23 +01:00
parent 0a43f8104e
commit f3aba6748b
12 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ struct ModelJob : RenderJob
if (world->HasComponent(Entity, "Animation") && Skeleton != nullptr) {
auto animationComponent = world->GetComponent(Entity, "Animation");
Animation = model->m_RawModel->m_Skeleton->GetAnimation(animationComponent["Name"]);
AnimationTime = (double)animationComponent["Time"];
AnimationTime = (float)((double)animationComponent["Time"]);
}
};