~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/ai/api/ai_depotlist.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2009-10-01 22:52:59 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091001225259-5kpkp4sthbszpyif
[ Matthijs Kooijman ]
* New upstream release
* Use printf instead of echo -en in openttd-wrapper to make it POSIX
  compatible (Closes: #547758).
* Remove three patches that are now included in upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: ai_depotlist.cpp 15299 2009-01-31 20:16:06Z smatz $ */
 
1
/* $Id: ai_depotlist.cpp 16741 2009-07-04 17:20:48Z rubidium $ */
2
2
 
3
3
/** @file ai_depotlist.cpp Implementation of AIDepotList and friends. */
4
4
 
25
25
                                if (st->owner == ::_current_company) {
26
26
                                        const AirportFTAClass *afc = st->Airport();
27
27
                                        for (uint i = 0; i < afc->nof_depots; i++) {
28
 
                                                this->AddItem(st->xy + ToTileIndexDiff(afc->airport_depots[i]));
 
28
                                                this->AddItem(st->airport_tile + ToTileIndexDiff(afc->airport_depots[i]));
29
29
                                        }
30
30
                                }
31
31
                        }