diff options
author | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
commit | f56e630e5cb839b307f04bf52465c4db4d1ad904 (patch) | |
tree | 69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/road_gui.cpp | |
parent | dba193d4a54707a19d8f3c2f42a1ac10ff544c5c (diff) | |
download | openttd-f56e630e5cb839b307f04bf52465c4db4d1ad904.tar.xz |
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 9a215d127..ca45f35fe 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -421,7 +421,7 @@ struct BuildRoadToolbarWindow : Window { /** * Update the remove button lowered state of the road toolbar * - * @param clicked_widget The widget which the player clicked just now + * @param clicked_widget The widget which the client clicked just now */ void UpdateOptionWidgetStatus(RoadToolbarWidgets clicked_widget) { @@ -676,7 +676,7 @@ static const WindowDesc _build_tramway_desc = { void ShowBuildRoadToolbar(RoadType roadtype) { - if (!IsValidPlayerID(_current_player)) return; + if (!IsValidCompanyID(_current_company)) return; _cur_roadtype = roadtype; DeleteWindowByClass(WC_BUILD_TOOLBAR); |