diff options
-rw-r--r-- | src/ui/ui_shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index dd862c09..7c4e281b 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -8120,8 +8120,8 @@ void Menu_PaintAll( void ) captureFunc( captureData ); } - for( i = 0; i < Menu_Count(); i++ ) - Menu_Paint( &Menus[i], qfalse ); + for( i = 0; i < openMenuCount; i++ ) + Menu_Paint( menuStack[i], qfalse ); if( DC->getCVarValue( "ui_developer" ) ) { |