Changed ScreenGameplay to not allow Ready and Go announcer sounds to play at the same time if the animation is zero length.

This commit is contained in:
Kyzentun Keeslala
2016-06-09 16:05:49 -06:00
parent a0d6658a65
commit 1deb1dd9c0
2 changed files with 51 additions and 8 deletions
+5
View File
@@ -328,6 +328,11 @@ protected:
virtual PlayerInfo &GetPlayerInfoForInput( const InputEventPlus& iep ) { return m_vPlayerInfo[iep.pn]; }
RageTimer m_timerGameplaySeconds;
// m_delaying_ready_announce is for handling a case where the ready
// announcer sound needs to be delayed. See HandleScreenMessage for more.
// -Kyz
bool m_delaying_ready_announce;
// HACK: We have no idea whether we're actually using SMOnline or not.
// No, seriously, NOWHERE is it stored what room we're in or whether we're in a room at all.