Mercurial > mm7
diff UI/UIPopup.cpp @ 2098:7810cb3a5fb7
Popup window in MainMenu not shown
author | Ritor1 |
---|---|
date | Fri, 13 Dec 2013 16:10:36 +0600 |
parents | 52415f8bf7c2 |
children | 49de109bbab5 |
line wrap: on
line diff
--- a/UI/UIPopup.cpp Fri Dec 13 11:51:51 2013 +0600 +++ b/UI/UIPopup.cpp Fri Dec 13 16:10:36 2013 +0600 @@ -1298,7 +1298,7 @@ unsigned int pX; // [sp+70h] [bp-8h]@3 unsigned int pY; // [sp+74h] [bp-4h]@3 - if ( pCurrentScreen == SCREEN_VIDEO ) + if ( pCurrentScreen == SCREEN_VIDEO || GetCurrentMenuID() == MENU_MAIN ) return; if ( _this ) {