forked from mirror/OpenTTD
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
This commit is contained in:
@@ -838,7 +838,7 @@ void ShowBuildRailToolbar(RailType railtype, int button)
|
||||
if (!IsValidCompanyID(_local_company)) return;
|
||||
if (!ValParamRailtype(railtype)) return;
|
||||
|
||||
// don't recreate the window if we're clicking on a button and the window exists.
|
||||
/* don't recreate the window if we're clicking on a button and the window exists. */
|
||||
if (button < 0 || !(w = dynamic_cast<BuildRailToolbarWindow*>(FindWindowById(WC_BUILD_TOOLBAR, TRANSPORT_RAIL)))) {
|
||||
DeleteWindowByClass(WC_BUILD_TOOLBAR);
|
||||
_cur_railtype = railtype;
|
||||
|
Reference in New Issue
Block a user