Initial whitespace, formatting, file headers and NULL usage fixes.
This commit is contained in:
@@ -2192,7 +2192,7 @@ bool HandleViewportClicked(const ViewPort *vp, int x, int y)
|
||||
WindowClass wc = _thd.GetCallbackWnd()->window_class;
|
||||
if (_ctrl_pressed && v->owner == _local_company) {
|
||||
StartStopVehicle(v, true);
|
||||
} else if ( wc != WC_CREATE_TEMPLATE && wc != WC_TEMPLATEGUI_MAIN) {
|
||||
} else if (wc != WC_CREATE_TEMPLATE && wc != WC_TEMPLATEGUI_MAIN) {
|
||||
ShowVehicleViewWindow(v);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user