mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Multiplayer Improvements:
o Disabled a few ingame options, that does not work correctly with multiplayer. The user cannot enable those options. -> TOPTION_ALLOW_REAL_TIME_SNEAK -> TOPTION_ALLOW_CROWS -> TOPTION_ALLOW_SOLDIER_TOOLTIPS -> TOPTION_USE_AUTO_SAVE -> TOPTION_TOGGLE_TURN_MODE -> TOPTION_USE_NCTH o When the server enters the strategy map, the airspace view is shown together with an info message how to switch sectors git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4738 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -134,6 +134,7 @@
|
||||
#include "Debug Control.h"
|
||||
#include "MPConnectScreen.h"
|
||||
#include "IniReader.h"
|
||||
#include "Map Screen Interface Border.h"
|
||||
|
||||
extern CHAR16 gzFileTransferDirectory[100];
|
||||
|
||||
@@ -2483,7 +2484,7 @@ void recieveSETTINGS (RPCParameters *rpcParameters) //recive settings from serve
|
||||
InitializeSMPanelCoordsOld();
|
||||
InitializeInvPanelCoordsOld();
|
||||
}
|
||||
|
||||
|
||||
// WANNE - MP: We also have to reinitialize the merc profiles because
|
||||
// they depend on the inventory!
|
||||
LoadMercProfiles();
|
||||
@@ -2496,7 +2497,11 @@ void recieveSETTINGS (RPCParameters *rpcParameters) //recive settings from serve
|
||||
|
||||
// OJW - 20091024 - extract random table
|
||||
if (!is_server)
|
||||
memcpy(guiPreRandomNums,cl_lan->random_table,sizeof(UINT32)*MAX_PREGENERATED_NUMS);
|
||||
memcpy(guiPreRandomNums,cl_lan->random_table,sizeof(UINT32)*MAX_PREGENERATED_NUMS);
|
||||
|
||||
// WANNE: Turn on airspace mode (to switch maps) for the server!
|
||||
if (is_server)
|
||||
TurnOnAirSpaceMode();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user