summaryrefslogtreecommitdiff
path: root/src/table
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
commit5c0a52149d5124b6c68d698dba4807b832339cf2 (patch)
treedcf6bc8598cc98dbb7b1444a65d5dcefeced2f1c /src/table
parentabbaa1691e1900870740b5878dd95b5bef7a0cf0 (diff)
downloadopenttd-5c0a52149d5124b6c68d698dba4807b832339cf2.tar.xz
(svn r9795) -Codechange: enumify the EngineClass.
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 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