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:
@@ -181,6 +181,7 @@ readyForBattleEndPlayer (NetConnection *conn, void *arg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Returns true iff this side is ready to end the battle.
|
||||||
static inline bool
|
static inline bool
|
||||||
readyForBattleEnd (COUNT side)
|
readyForBattleEnd (COUNT side)
|
||||||
{
|
{
|
||||||
@@ -190,7 +191,7 @@ readyForBattleEnd (COUNT side)
|
|||||||
// accuracy. PLRPlaying () isn't consistent enough.
|
// accuracy. PLRPlaying () isn't consistent enough.
|
||||||
return true;
|
return true;
|
||||||
#else /* !DEMO_MODE */
|
#else /* !DEMO_MODE */
|
||||||
return PLRPlaying ((MUSIC_REF)~0);
|
return !PLRPlaying ((MUSIC_REF)~0);
|
||||||
#endif /* !DEMO_MODE */
|
#endif /* !DEMO_MODE */
|
||||||
#else /* defined (NETPLAY) */
|
#else /* defined (NETPLAY) */
|
||||||
if (PLRPlaying ((MUSIC_REF)~0))
|
if (PLRPlaying ((MUSIC_REF)~0))
|
||||||
|
|||||||
Reference in New Issue
Block a user