diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-09 10:15:20 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-09 10:15:20 +0000 |
commit | 0ae26a03126f770e9ea8d53df6643a8384856b49 (patch) | |
tree | 349e9f622eaae22b6c77513f5c6eb837b64a8764 /src/roadveh_cmd.cpp | |
parent | 285a4a106f9b679cf3751532fd8346c9262a4209 (diff) | |
download | openttd-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.cpp | 4 |
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); } |