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

« back to all changes in this revision

Viewing changes to src/engine.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman
  • Date: 2010-07-01 08:14:02 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100701081402-98jmva0t3sqywxmi
Tags: 1.0.2-1
* [00c4efe] New upstream release 1.0.2.
* [c7b38fd] Break older openttd versions instead of Conflicting with
  them.
* [36bd61f] Bump standards version to 3.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: engine.cpp 19223 2010-02-23 23:26:37Z rubidium $ */
 
1
/* $Id: engine.cpp 19926 2010-06-04 21:07:08Z rubidium $ */
2
2
 
3
3
/*
4
4
 * This file is part of OpenTTD.
808
808
        /* check if it's available */
809
809
        if (!HasBit(e->company_avail, company)) return false;
810
810
 
 
811
        if (e->info.string_id == STR_NEWGRF_INVALID_ENGINE) return false;
 
812
 
811
813
        if (type == VEH_TRAIN) {
812
814
                /* Check if the rail type is available to this company */
813
815
                const Company *c = Company::Get(company);