Fix compilation with netplay disabled.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2955 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -195,11 +195,13 @@ battleEndReadyComputer (ComputerInputContext *context)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NETPLAY
|
||||||
bool
|
bool
|
||||||
battleEndReadyNetwork (NetworkInputContext *context)
|
battleEndReadyNetwork (NetworkInputContext *context)
|
||||||
{
|
{
|
||||||
return readyForBattleEndPlayer (netConnections[context->playerNr]);
|
return readyForBattleEndPlayer (netConnections[context->playerNr]);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Returns true iff this side is ready to end the battle.
|
// Returns true iff this side is ready to end the battle.
|
||||||
static inline bool
|
static inline bool
|
||||||
|
|||||||
Reference in New Issue
Block a user