From a26c92d7dda327f2b1483fe7250cb27580a0a039 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 24 Dec 2010 17:08:50 +0200 Subject: disconnect method to connection to be used instead of just timing out --- src/main.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') 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; } } -- cgit v1.2.3