diff options
author | Tim Angus <tim@ngus.net> | 2009-10-17 23:34:10 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:53 +0000 |
commit | e7301f89ba33bcdc92bf5b5925773effaa241c7c (patch) | |
tree | 751ce5564494da925451bcbaf21b9be874e20fd2 /src/ui/ui_shared.c | |
parent | 4f0fb53b455ecec51411a44150e1c197fcd2c52a (diff) |
* (bug #3949) Paint menus in stack order (Amanieu)
Diffstat (limited to 'src/ui/ui_shared.c')
-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" ) ) { |