summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-06-07 15:58:59 +0000
committerfrosch <frosch@openttd.org>2012-06-07 15:58:59 +0000
commited3c734d0a83e7bfc89ba6648712820a6cd69008 (patch)
tree7eacd65d91f13f398b4fc7a4574644711abb04c9 /src/newgrf_engine.h
parent4c79a065673f4ae19d278ec3e0e4f68190ab330c (diff)
downloadopenttd-ed3c734d0a83e7bfc89ba6648712820a6cd69008.tar.xz
(svn r24332) -Change/Fix [FS#2553]: [NewGRF] Change the length of 8/8 roadvehicles in vehicle lists to 32 pixels; this is in fact the correct length as can be seen in corners for short articulated parts following each other. It also looks fine for most old GRFs, thus there is no need for a switch.
Diffstat (limited to 'src/newgrf_engine.h')
-rw-r--r--src/newgrf_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.h b/src/newgrf_engine.h
index 74b10693a..539826669 100644
--- a/src/newgrf_engine.h
+++ b/src/newgrf_engine.h
@@ -20,7 +20,7 @@
#include "gfx_type.h"
static const uint TRAININFO_DEFAULT_VEHICLE_WIDTH = 29;
-static const uint ROADVEHINFO_DEFAULT_VEHICLE_WIDTH = 28;
+static const uint ROADVEHINFO_DEFAULT_VEHICLE_WIDTH = 32;
static const uint VEHICLEINFO_FULL_VEHICLE_WIDTH = 32;
void SetWagonOverrideSprites(EngineID engine, CargoID cargo, const struct SpriteGroup *group, EngineID *train_id, uint trains);