From dddfcdfd9f69974d22515e46c362c42f42d5b601 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Thu, 20 Mar 2008 19:27:38 +0000 Subject: [PATCH] Fix compilation with netplay disabled. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2955 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/tactrans.c | 2 ++ 1 file changed, 2 insertions(+) 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