mirror of
https://github.com/minetest/minetest.git
synced 2025-04-01 08:02:50 +02:00
Fix regression of world loading caused by 81c863ac
This commit is contained in:
@ -1042,7 +1042,7 @@ void the_game(
|
|||||||
u32 lasttime = device->getTimer()->getTime();
|
u32 lasttime = device->getTimer()->getTime();
|
||||||
while(device->run())
|
while(device->run())
|
||||||
{
|
{
|
||||||
f32 dtime=0; // in seconds
|
f32 dtime = 0.033; // in seconds
|
||||||
if (cloud_menu_background) {
|
if (cloud_menu_background) {
|
||||||
u32 time = device->getTimer()->getTime();
|
u32 time = device->getTimer()->getTime();
|
||||||
if(time > lasttime)
|
if(time > lasttime)
|
||||||
@ -1136,7 +1136,7 @@ void the_game(
|
|||||||
u32 lasttime = device->getTimer()->getTime();
|
u32 lasttime = device->getTimer()->getTime();
|
||||||
while(device->run())
|
while(device->run())
|
||||||
{
|
{
|
||||||
f32 dtime=0; // in seconds
|
f32 dtime = 0.033; // in seconds
|
||||||
if (cloud_menu_background) {
|
if (cloud_menu_background) {
|
||||||
u32 time = device->getTimer()->getTime();
|
u32 time = device->getTimer()->getTime();
|
||||||
if(time > lasttime)
|
if(time > lasttime)
|
||||||
|
Reference in New Issue
Block a user