1
0
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:
kwolekr 2013-05-19 12:07:00 -04:00
parent 45fcc9de29
commit f577facf79

View File

@ -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)