(svn r8314) -Fix
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
This commit is contained in:
@@ -13,6 +13,7 @@ typedef struct RailVehicleInfo {
|
||||
byte image_index;
|
||||
byte flags; /* 1=multihead engine, 2=wagon */
|
||||
byte base_cost;
|
||||
byte railtype;
|
||||
uint16 max_speed;
|
||||
uint16 power;
|
||||
uint16 weight;
|
||||
@@ -81,8 +82,7 @@ typedef struct EngineInfo {
|
||||
Year lifelength;
|
||||
Year base_life;
|
||||
byte load_amount;
|
||||
byte railtype:4;
|
||||
byte climates:4;
|
||||
byte climates;
|
||||
uint32 refit_mask;
|
||||
byte refit_cost;
|
||||
byte misc_flags;
|
||||
|
Reference in New Issue
Block a user