area count got renamed
This commit is contained in:
		
							parent
							
								
									0afca9243a
								
							
						
					
					
						commit
						6c154841c3
					
				@ -397,7 +397,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
 | 
				
			|||||||
          {
 | 
					          {
 | 
				
			||||||
              musics_time = true;
 | 
					              musics_time = true;
 | 
				
			||||||
              areas--;
 | 
					              areas--;
 | 
				
			||||||
              w_courtroom->fix_last_area();
 | 
					              //w_courtroom->fix_last_area();
 | 
				
			||||||
              w_courtroom->append_music(f_music);
 | 
					              w_courtroom->append_music(f_music);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          else
 | 
					          else
 | 
				
			||||||
@ -491,18 +491,18 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
 | 
				
			|||||||
                  f_contents.at(n_element).endsWith(".opus"))
 | 
					                  f_contents.at(n_element).endsWith(".opus"))
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
              musics_time = true;
 | 
					              musics_time = true;
 | 
				
			||||||
              w_courtroom->fix_last_area();
 | 
					              // w_courtroom->fix_last_area();
 | 
				
			||||||
              w_courtroom->append_music(f_contents.at(n_element));
 | 
					              w_courtroom->append_music(f_contents.at(n_element));
 | 
				
			||||||
              areas--;
 | 
					              area_count--;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          else
 | 
					          else
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
              w_courtroom->append_area(f_contents.at(n_element));
 | 
					              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;
 | 
					          musics_time = true;
 | 
				
			||||||
          continue;
 | 
					          continue;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user