aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index df335ad39..1a9379e41 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1513,6 +1513,10 @@ int main(int argc, char *argv[])
// Test the text input system
/*(new GUITextInputMenu(guienv, guiroot, -1, &g_active_menu_count,
NULL))->drop();*/
+
+ // Launch pause menu
+ (new GUIPauseMenu(guienv, guiroot, -1, g_device,
+ &g_active_menu_count))->drop();
// First line of debug text
gui::IGUIStaticText *guitext = guienv->addStaticText(
@@ -2164,9 +2168,11 @@ int main(int argc, char *argv[])
}
// We want a slight delay to very little
// time consuming nodes
- if(nodig_delay_counter < 0.15)
+ //float mindelay = 0.15;
+ float mindelay = 0.20;
+ if(nodig_delay_counter < mindelay)
{
- nodig_delay_counter = 0.15;
+ nodig_delay_counter = mindelay;
}
}