浏览代码

Fix #258

No harm in it, and we can close the issue now.
Daniel Buckmaster 10 年之前
父节点
当前提交
0213fc4a34
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/T3D/gameFunctions.cpp

+ 1 - 1
Engine/source/T3D/gameFunctions.cpp

@@ -239,7 +239,7 @@ void GameUpdateCameraFov()
       F32 delta = time - sLastCameraUpdateTime;
 
       // snap zoom?
-      if((sZoomSpeed == 0) || (delta <= 0.f))
+      if((sZoomSpeed == 0) || (delta <= 0.0f))
          sCameraFov = sTargetFov;
       else
       {