mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 23:05:07 -05:00
Fix regression of world loading caused by 81c863ac
This commit is contained in:
parent
45fcc9de29
commit
f577facf79
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user