diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-01-30 02:58:30 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-01-30 02:58:30 +0100 |
| commit | 922506261f420102375c8bb91836c1a0e7151ca3 (patch) | |
| tree | 9f2d993bf77554814eec6e8eadddec287cd401c8 /packet_distribution.cpp | |
| parent | 6e1f2cf20d7581e31350c428663a4a7af1dda914 (diff) | |
added AOScene class, and basic background functionality
Diffstat (limited to 'packet_distribution.cpp')
| -rw-r--r-- | packet_distribution.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packet_distribution.cpp b/packet_distribution.cpp index 6d242783..6942b7e9 100644 --- a/packet_distribution.cpp +++ b/packet_distribution.cpp @@ -279,6 +279,13 @@ void AOApplication::server_packet_received(AOPacket *p_packet) destruct_lobby(); } + else if (header == "BN") + { + if (f_contents.size() < 1) + return; + + w_courtroom->set_background(f_contents.at(0)); + } //server accepting char request(CC) packet else if (header == "PV") { |
