diff options
author | rubidium <rubidium@openttd.org> | 2007-05-25 22:07:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-25 22:07:40 +0000 |
commit | 17390241e651cb9d5ef60aceb56e14fd50a16199 (patch) | |
tree | b86593b9aea7311014688cdbe56f3789049c2dfb /src/newgrf.cpp | |
parent | 9e7798c42e14bc3a40f7f9f0357caa45667ace2a (diff) | |
download | openttd-17390241e651cb9d5ef60aceb56e14fd50a16199.tar.xz |
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 6095832ed..9c04ec9d1 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2905,6 +2905,14 @@ static void GraphicsNew(byte *buf, int len) replace = SPR_2CCMAP_BASE; break; + case 0x0B: // tramways + if (num != 113) { + grfmsg(1, "GraphicsNews: Tramway graphics sprite count must be 113, skipping"); + return; + } + replace = SPR_TRAMWAY_BASE; + break; + case 0x0D: // Coast graphics if (num != 16) { grfmsg(1, "GraphicsNew: Coast graphics sprite count must be 16, skipping"); @@ -4237,7 +4245,7 @@ static void InitializeGRFSpecial() | (1 << 0x11) // autoreplace | (1 << 0x12) // autoslope | (0 << 0x13) // followvehicle - | (0 << 0x14) // trams + | (1 << 0x14) // trams | (0 << 0x15) // enhancetunnels | (0 << 0x16) // shortrvs | (0 << 0x17) // articulatedrvs |