Fixed a bug where the victory ditty would end prematurely when UQM is compiled without Netplay support.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2625 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2006-12-19 00:22:44 +00:00
parent a33fae5563
commit fb387f259d
+2 -1
View File
@@ -181,6 +181,7 @@ readyForBattleEndPlayer (NetConnection *conn, void *arg)
}
#endif
// Returns true iff this side is ready to end the battle.
static inline bool
readyForBattleEnd (COUNT side)
{
@@ -190,7 +191,7 @@ readyForBattleEnd (COUNT side)
// accuracy. PLRPlaying () isn't consistent enough.
return true;
#else /* !DEMO_MODE */
return PLRPlaying ((MUSIC_REF)~0);
return !PLRPlaying ((MUSIC_REF)~0);
#endif /* !DEMO_MODE */
#else /* defined (NETPLAY) */
if (PLRPlaying ((MUSIC_REF)~0))