summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 14:20:03 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 14:20:03 +0000
commit46186134c892f236ecc610aacd6c18ee95600d5f (patch)
tree8c4fee2d4ad04aa85e1ad0088b3de56ba5885dde /src/table
parent61ff042460410d5382db56c4af86db6c277f02e1 (diff)
downloadopenttd-46186134c892f236ecc610aacd6c18ee95600d5f.tar.xz
(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/engines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/engines.h b/src/table/engines.h
index 6ff3ecfb7..821a249ac 100644
--- a/src/table/engines.h
+++ b/src/table/engines.h
@@ -364,7 +364,7 @@ static const EngineInfo _orig_engine_info[] = {
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
* Air drag value depends on the top speed of the vehicle.
*/
-#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, 0, 0, 76, 0, 0 }
+#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, VE_DEFAULT, 0, 76, 0, 0 }
#define M RAILVEH_MULTIHEAD
#define W RAILVEH_WAGON
#define G RAILVEH_SINGLEHEAD