diff options
| author | sD <stoned@derpymail.org> | 2020-02-21 16:54:06 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-02-21 16:54:06 +0100 |
| commit | 6c154841c37d6d97ba97a8f8c3e78e248434760f (patch) | |
| tree | 22ec34d4f7ea50c9b649a00cdde504d9f29ed4c9 /src/packet_distribution.cpp | |
| parent | 0afca9243a47f30a946c69a974c4d257574d85e5 (diff) | |
area count got renamed
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index fe26849f..246166b8 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -397,7 +397,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet) { musics_time = true; areas--; - w_courtroom->fix_last_area(); + //w_courtroom->fix_last_area(); w_courtroom->append_music(f_music); } else @@ -491,18 +491,18 @@ void AOApplication::server_packet_received(AOPacket *p_packet) f_contents.at(n_element).endsWith(".opus")) { musics_time = true; - w_courtroom->fix_last_area(); + // w_courtroom->fix_last_area(); w_courtroom->append_music(f_contents.at(n_element)); - areas--; + area_count--; } else { w_courtroom->append_area(f_contents.at(n_element)); - areas++; + area_count++; } } - for (int area_n = 0; area_n < areas; area_n++) + for (int area_n = 0; area_n < area_count; area_n++) { musics_time = true; continue; |
