diff options
author | rubidium <rubidium@openttd.org> | 2009-10-18 14:28:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-18 14:28:26 +0000 |
commit | 138e7233bce5ff5a9d20f54af80f6104303d6ca0 (patch) | |
tree | 7defa635be3e9968a2d18b8f106a580f33964de9 /src/station_gui.cpp | |
parent | c52a26a73f7fae70811ab3b6bb3599041cee530f (diff) | |
download | openttd-138e7233bce5ff5a9d20f54af80f6104303d6ca0.tar.xz |
(svn r17800) -Codechange: first steps into making CargoList a template
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 3ab59320a..b0afb4e1a 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -824,8 +824,8 @@ struct StationViewWindow : public Window { this->cargo_rows[i] = (uint16)cargolist.size(); /* Add an entry for each distinct cargo source. */ - const CargoList::List *packets = st->goods[i].cargo.Packets(); - for (CargoList::List::const_iterator it = packets->begin(); it != packets->end(); it++) { + const StationCargoList::List *packets = st->goods[i].cargo.Packets(); + for (StationCargoList::List::const_iterator it = packets->begin(); it != packets->end(); it++) { const CargoPacket *cp = *it; if (cp->source != station_id) { bool added = false; |