summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-09 10:15:20 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-09 10:15:20 +0000
commit0ae26a03126f770e9ea8d53df6643a8384856b49 (patch)
tree349e9f622eaae22b6c77513f5c6eb837b64a8764 /src/roadveh_cmd.cpp
parent285a4a106f9b679cf3751532fd8346c9262a4209 (diff)
downloadopenttd-0ae26a03126f770e9ea8d53df6643a8384856b49.tar.xz
(svn r11789) -Codechange: coding style for global variable names
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 82ea00394..dc0333eb2 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -99,7 +99,7 @@ int RoadVehicle::GetImage(Direction direction) const
if (is_custom_sprite(img)) {
image = GetCustomVehicleSprite(this, (Direction)(direction + 4 * IS_CUSTOM_SECONDHEAD_SPRITE(img)));
if (image != 0) return image;
- img = orig_road_vehicle_info[this->engine_type - ROAD_ENGINES_INDEX].image_index;
+ img = _orig_road_vehicle_info[this->engine_type - ROAD_ENGINES_INDEX].image_index;
}
image = direction + _roadveh_images[img];
@@ -118,7 +118,7 @@ void DrawRoadVehEngine(int x, int y, EngineID engine, SpriteID pal)
DrawSprite(sprite, pal, x, y);
return;
}
- spritenum = orig_road_vehicle_info[engine - ROAD_ENGINES_INDEX].image_index;
+ spritenum = _orig_road_vehicle_info[engine - ROAD_ENGINES_INDEX].image_index;
}
DrawSprite(6 + _roadveh_images[spritenum], pal, x, y);
}