- bugfix: Multiplayer games can now run in fullscreen mode! Game will not pause anymore and ALT + TAB also works.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2186 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2008-05-19 19:46:40 +00:00
parent cceb340a05
commit 41596a49cd
+4 -4
View File
@@ -387,11 +387,11 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
break;
case FALSE: // We are suspending direct draw
if (iScreenMode == 0)
//if (iScreenMode == 0)
{
#ifdef JA2
// pause the JA2 Global clock
PauseTime( TRUE );
//PauseTime( TRUE );
SuspendVideoManager();
#else
#ifndef UTIL
@@ -406,7 +406,7 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
MoveTimer(TIMER_SUSPEND);
#endif
gfApplicationActive = FALSE;
// gfApplicationActive = FALSE;
fRestore = TRUE;
}
break;
@@ -423,7 +423,7 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
break;
case WM_SETFOCUS:
if (iScreenMode == 0)
//if (iScreenMode == 0)
{
#if !defined( JA2 ) && !defined( UTIL )
if(!VideoInspectorIsEnabled())