Quickfix: New option "Force turn mode" is always disabled when playing a multiplayer game

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2624 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-03-14 16:32:44 +00:00
parent 2660ca5135
commit 4c6df7cc2c
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -6099,6 +6099,8 @@ BOOLEAN CheckForEndOfCombatMode( BOOLEAN fIncrementTurnsNotSeen )
// If we have reach a point where a cons. number of turns gone by....
//if ( gTacticalStatus.bConsNumTurnsNotSeen > 1 )
// arynn : add forced turn mode : note : no forced turn mode option for Multi Player
if ( is_networked ) gGameSettings.fOptions[ TOPTION_TOGGLE_TURN_MODE ] = FALSE;
if ( gTacticalStatus.bConsNumTurnsNotSeen > 1 && !gGameSettings.fOptions[ TOPTION_TOGGLE_TURN_MODE ])// arynn : add forced turn mode
{
+3 -1
View File
@@ -1531,7 +1531,9 @@ void AddSoldierToSectorGridNo( SOLDIERTYPE *pSoldier, INT16 sGridNo, UINT8 ubDir
if ( pSoldier->ubBodyType != BLOODCAT )
{
SetEnemyPresence( );
// arynn : add forced turn mode : note not for bloodcats..
// arynn : add forced turn mode : note : not for bloodcats..
// arynn : add forced turn mode : note : no forced turn mode option for Multi Player
if ( is_networked ) gGameSettings.fOptions[ TOPTION_TOGGLE_TURN_MODE ] = FALSE;
if ( gGameSettings.fOptions[ TOPTION_TOGGLE_TURN_MODE ])
{
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"Forced Turn Mode Active, Entering Combat" );