Changeset - r18326:67e70202ea15
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2011-11-09 11:44:12
yexo@openttd.org
(svn r23172) -Fix (r23088) [FS#4831]: crash when looking at orders from a vehicle that's not in your company
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/order_gui.cpp
Show inline comments
 
@@ -822,7 +822,9 @@ public:
 
		this->CreateNestedTree(desc);
 
		this->vscroll = this->GetScrollbar(ORDER_WIDGET_SCROLLBAR);
 
		this->FinishInitNested(desc, v->index);
 
		this->DisableWidget(ORDER_WIDGET_EMPTY);
 
		if (v->owner == _local_company) {
 
			this->DisableWidget(ORDER_WIDGET_EMPTY);
 
		}
 

	
 
		this->selected_order = -1;
 
		this->order_over = INVALID_VEH_ORDER_ID;
0 comments (0 inline, 0 general)