diff options
author | rubidium <rubidium@openttd.org> | 2013-11-24 14:29:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-24 14:29:32 +0000 |
commit | 58c356e935cb299dea7ec6f1259962d12e382b48 (patch) | |
tree | 0db88851e9ec6d83f4dc9f43d6e5b9f8bf8fefbb /src/station_gui.h | |
parent | b75e60124dd3d718ce649a419dc6fe5abccc513d (diff) | |
download | openttd-58c356e935cb299dea7ec6f1259962d12e382b48.tar.xz |
(svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value
Diffstat (limited to 'src/station_gui.h')
-rw-r--r-- | src/station_gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.h b/src/station_gui.h index 155dccfee..664085624 100644 --- a/src/station_gui.h +++ b/src/station_gui.h @@ -27,7 +27,7 @@ enum StationCoverageType { int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies); void CheckRedrawStationCoverage(const Window *w); -void ShowSelectStationIfNeeded(CommandContainer cmd, TileArea ta); -void ShowSelectWaypointIfNeeded(CommandContainer cmd, TileArea ta); +void ShowSelectStationIfNeeded(const CommandContainer &cmd, TileArea ta); +void ShowSelectWaypointIfNeeded(const CommandContainer &cmd, TileArea ta); #endif /* STATION_GUI_H */ |