From 922506261f420102375c8bb91836c1a0e7151ca3 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Mon, 30 Jan 2017 02:58:30 +0100 Subject: added AOScene class, and basic background functionality --- packet_distribution.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packet_distribution.cpp') 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") { -- cgit