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:
Meep-Eep
2008-03-20 19:27:38 +00:00
parent fb780f8b1c
commit dddfcdfd9f
+2
View File
@@ -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