equal
deleted
inserted
replaced
170 /* prevent certain engines from ever appearing. */ |
170 /* prevent certain engines from ever appearing. */ |
171 if (!HasBit(ei->climates, _opt.landscape)) { |
171 if (!HasBit(ei->climates, _opt.landscape)) { |
172 e->flags |= ENGINE_AVAILABLE; |
172 e->flags |= ENGINE_AVAILABLE; |
173 e->player_avail = 0; |
173 e->player_avail = 0; |
174 } |
174 } |
175 |
|
176 /* This sets up type for the engine |
|
177 * It is needed if you want to ask the engine what type it is |
|
178 * It should hopefully be the same as when you ask a vehicle what it is |
|
179 * but using this, you can ask what type an engine number is |
|
180 * even if it is not a vehicle (yet)*/ |
|
181 } |
175 } |
182 } |
176 } |
183 |
177 |
184 static void AcceptEnginePreview(EngineID eid, PlayerID player) |
178 static void AcceptEnginePreview(EngineID eid, PlayerID player) |
185 { |
179 { |