mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 10:49:02 +00:00
commit
7242d8a440
1 changed files with 7 additions and 1 deletions
|
@ -2056,7 +2056,13 @@ _WinMain(HINSTANCE instance,
|
|||
{
|
||||
GetWindowPlacement(PSGLOBAL(window), &wp);
|
||||
|
||||
// Famous transparent menu bug. Also see the fix in Frontend.cpp
|
||||
#ifdef FIX_BUGS
|
||||
float ms = (float)CTimer::GetCurrentTimeInCycles() / (float)CTimer::GetCyclesPerMillisecond();
|
||||
if ((1000.0f / 100.0f) < ms && wp.showCmd != SW_SHOWMINIMIZED)
|
||||
#else
|
||||
if (wp.showCmd != SW_SHOWMINIMIZED)
|
||||
#endif
|
||||
RsEventHandler(rsFRONTENDIDLE, nil);
|
||||
|
||||
if ( !FrontEndMenuManager.m_bMenuActive || FrontEndMenuManager.m_bLoadingSavedGame )
|
||||
|
|
Loading…
Reference in a new issue