branch | noai |
changeset 9724 | b39bc69bb2f2 |
parent 9722 | ebf0ece7d8f6 |
child 9732 | f8eb3e208514 |
9723:eee46cb39750 | 9724:b39bc69bb2f2 |
---|---|
6 #define YAPF_DESTRAIL_HPP |
6 #define YAPF_DESTRAIL_HPP |
7 |
7 |
8 class CYapfDestinationRailBase |
8 class CYapfDestinationRailBase |
9 { |
9 { |
10 protected: |
10 protected: |
11 RailTypeMask m_compatible_railtypes; |
11 RailTypes m_compatible_railtypes; |
12 |
12 |
13 public: |
13 public: |
14 void SetDestination(Vehicle* v) |
14 void SetDestination(Vehicle* v) |
15 { |
15 { |
16 m_compatible_railtypes = v->u.rail.compatible_railtypes; |
16 m_compatible_railtypes = v->u.rail.compatible_railtypes; |