aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index c344e81..837c785 100644
--- a/main.cpp
+++ b/main.cpp
@@ -709,9 +709,8 @@ void render() {
}
- if(currentMenu){
- ui::drawMenu(currentMenu);
- }
+ if ( currentMenu )
+ ui::menu::draw();
// draw the mouse cursor
glColor3ub(255,255,255);