mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- bugfix: Exclusive multiplayer condition was missing in AddPossiblePendingMilitiaToBattle()
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2215 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -393,9 +393,12 @@ void AddPossiblePendingMilitiaToBattle()
|
|||||||
static UINT8 ubPredefinedRank = 255;
|
static UINT8 ubPredefinedRank = 255;
|
||||||
|
|
||||||
// Haydent
|
// Haydent
|
||||||
if ((is_client && !is_server) || MILITIA_ENABLED==0)
|
if (is_networked)
|
||||||
{
|
{
|
||||||
return;
|
if ((is_client && !is_server) || MILITIA_ENABLED==0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if( !PlayerMercsInSector( (UINT8)gWorldSectorX, (UINT8)gWorldSectorY, 0 ) || !CountAllMilitiaInSector( gWorldSectorX, gWorldSectorY )
|
// if( !PlayerMercsInSector( (UINT8)gWorldSectorX, (UINT8)gWorldSectorY, 0 ) || !CountAllMilitiaInSector( gWorldSectorX, gWorldSectorY )
|
||||||
|
|||||||
Reference in New Issue
Block a user