summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-13 14:43:33 +0000
committerrubidium <rubidium@openttd.org>2008-05-13 14:43:33 +0000
commitdddfaaac7db08252a500fb2d0d1fb2cc7200d20c (patch)
tree07ccf25e54bf3e9762d7fd6e9e3b30a6138e95f6 /src/station_gui.cpp
parentdb69f81fe7693f12ec212af92698a524be7bc905 (diff)
downloadopenttd-dddfaaac7db08252a500fb2d0d1fb2cc7200d20c.tar.xz
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 51f4d3d3f..e14fbbe8f 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -287,7 +287,7 @@ struct PlayerStationsWindow : public Window, public GUIStationList
static byte facilities;
static bool include_empty;
- PlayerStationsWindow(const WindowDesc *desc, void *data, WindowNumber window_number) : Window(desc, data, window_number)
+ PlayerStationsWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
{
this->caption_color = (byte)this->window_number;
this->vscroll.cap = 12;
@@ -737,7 +737,7 @@ struct StationViewWindow : public Window {
uint32 cargo; ///< Bitmask of cargo types to expand
uint16 cargo_rows[NUM_CARGO]; ///< Header row for each cargo type
- StationViewWindow(const WindowDesc *desc, void *data, WindowNumber window_number) : Window(desc, data, window_number)
+ StationViewWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
{
PlayerID owner = GetStation(window_number)->owner;
if (owner != OWNER_NONE) this->caption_color = owner;