forked from mirror/OpenTTD
(svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
This commit is contained in:
@@ -2837,6 +2837,7 @@ static SpriteID GetEngineColourMap(EngineID engine_type, PlayerID player, Engine
|
||||
const RailVehicleInfo *rvi = RailVehInfo(engine_type);
|
||||
|
||||
switch (rvi->railtype) {
|
||||
default: NOT_REACHED();
|
||||
case RAILTYPE_RAIL:
|
||||
case RAILTYPE_ELECTRIC:
|
||||
{
|
||||
|
Reference in New Issue
Block a user