summaryrefslogtreecommitdiff
path: root/src/table/engines.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-06 15:01:44 +0000
committerrubidium <rubidium@openttd.org>2007-05-06 15:01:44 +0000
commit425923c8d20f5295304a091bc23cc85dff63b0cf (patch)
treedcf6bc8598cc98dbb7b1444a65d5dcefeced2f1c /src/table/engines.h
parent9a893ebe20768fcb4d707738339249d40874575c (diff)
downloadopenttd-425923c8d20f5295304a091bc23cc85dff63b0cf.tar.xz
(svn r9795) -Codechange: enumify the EngineClass.
Diffstat (limited to 'src/table/engines.h')
-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 71d7c4146..54af58361 100644
--- a/src/table/engines.h
+++ b/src/table/engines.h
@@ -346,7 +346,7 @@ const EngineInfo orig_engine_info[] = {
* @param l railtype
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
*/
-#define RVI(a, b, c, d, e, f, g, h, i, j, k, l) { a, b, c, {l}, d, e, f, g, h, h, i, j, k, 0, 0, 0, 0, 76, 0 }
+#define RVI(a, b, c, d, e, f, g, h, i, j, k, l) { a, b, c, {l}, d, e, f, g, h, (EngineClass)h, i, j, k, 0, 0, 0, 0, 76, 0 }
#define M RAILVEH_MULTIHEAD
#define W RAILVEH_WAGON
#define G RAILVEH_SINGLEHEAD