diff options
| author | iamgoofball <iamgoofball@gmail.com> | 2019-01-18 19:08:56 -0800 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2019-01-18 23:08:46 -0600 |
| commit | 3c0cedbe922c9fcacd0d171423f83e375f66e178 (patch) | |
| tree | bdc797518ee7b53ae4c9c7c290d4eb557c578a96 /src/packet_distribution.cpp | |
| parent | d62ff4d3afbfe3f17aaafc4c01a483ee87123219 (diff) | |
Add screenshake, frame-specific effects, looping SFX, and clientside music looping
Committed by patch since Goof is currently banned on GitHub for no good reason.
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 68d2fb9b..f8adb122 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -151,6 +151,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet) arup_enabled = false; casing_alerts_enabled = false; modcall_reason_enabled = false; + looping_sfx_support_enabled = false; //workaround for tsuserver4 if (f_contents.at(0) == "NOENCRYPT") @@ -209,6 +210,8 @@ void AOApplication::server_packet_received(AOPacket *p_packet) casing_alerts_enabled = true; if (f_packet.contains("modcall_reason",Qt::CaseInsensitive)) modcall_reason_enabled = true; + if (f_packet.contains("looping_sfx",Qt::CaseInsensitive)) + looping_sfx_support_enabled = true; w_lobby->enable_connect_button(); } |
