fixed a crash related to the BN packet
This commit is contained in:
		
							parent
							
								
									922506261f
								
							
						
					
					
						commit
						9d48599a90
					
				@ -485,11 +485,13 @@ void Courtroom::handle_chatmessage(QStringList *p_contents)
 | 
				
			|||||||
      ui_ic_chatlog->verticalScrollBar()->setValue(ui_ic_chatlog->verticalScrollBar()->minimum());
 | 
					      ui_ic_chatlog->verticalScrollBar()->setValue(ui_ic_chatlog->verticalScrollBar()->minimum());
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //T0D0: play objection gif->preanimation if there is any
 | 
					  //T0D0: play objection gif->preanimation if there is any
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //D3BUG START
 | 
					  //D3BUG START
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ui_vp_background->set_image("defenseempty.png");
 | 
					  //ui_vp_background->set_image("defenseempty.png");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //D3BUG END
 | 
					  //D3BUG END
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -284,7 +284,8 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
 | 
				
			|||||||
    if (f_contents.size() < 1)
 | 
					    if (f_contents.size() < 1)
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    w_courtroom->set_background(f_contents.at(0));
 | 
					    if (courtroom_constructed)
 | 
				
			||||||
 | 
					      w_courtroom->set_background(f_contents.at(0));
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  //server accepting char request(CC) packet
 | 
					  //server accepting char request(CC) packet
 | 
				
			||||||
  else if (header == "PV")
 | 
					  else if (header == "PV")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user