diff --git a/sc2/src/sc2code/tactrans.c b/sc2/src/sc2code/tactrans.c index 5e8617ef9..e0e04faa0 100644 --- a/sc2/src/sc2code/tactrans.c +++ b/sc2/src/sc2code/tactrans.c @@ -195,11 +195,13 @@ battleEndReadyComputer (ComputerInputContext *context) return true; } +#ifdef NETPLAY bool battleEndReadyNetwork (NetworkInputContext *context) { return readyForBattleEndPlayer (netConnections[context->playerNr]); } +#endif // Returns true iff this side is ready to end the battle. static inline bool