]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/guiEngine.cpp
Fix getCraftRecipe returing wrong reciep due to way to unspecific output matching
[dragonfireclient.git] / src / guiEngine.cpp
index 814a7504ad20b634fff84fc01829d421ce79ca48..de6f44134ddb835faa3dde924de0e098c26fa794 100644 (file)
@@ -364,15 +364,14 @@ void GUIEngine::cloudPostProcess()
 {
        float fps_max = g_settings->getFloat("fps_max");
        // Time of frame without fps limit
-       float busytime;
        u32 busytime_u32;
+
        // not using getRealTime is necessary for wine
        u32 time = m_device->getTimer()->getTime();
        if(time > m_cloud.lasttime)
                busytime_u32 = time - m_cloud.lasttime;
        else
                busytime_u32 = 0;
-       busytime = busytime_u32 / 1000.0;
 
        // FPS limiter
        u32 frametime_min = 1000./fps_max;