summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-21 01:38:13 +0000
committerrubidium <rubidium@openttd.org>2010-01-21 01:38:13 +0000
commitf94c83a3874c292ae0d90a7819c971e4bc7aebad (patch)
treea952b3b5ff3a44ae3b028ee995ee32f968cc2ba0 /src/newgrf.cpp
parent02edae54542cf619cb8d0157d476be45df898119 (diff)
downloadopenttd-f94c83a3874c292ae0d90a7819c971e4bc7aebad.tar.xz
(svn r18872) -Codechange: introduce PaletteID and use it
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 5e4a5abdc..83e4d3f6c 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1389,7 +1389,7 @@ static ChangeInfoResult BridgeChangeInfo(uint brid, int numinfo, int prop, byte
for (byte sprite = 0; sprite < 32; sprite++) {
SpriteID image = grf_load_word(&buf);
- SpriteID pal = grf_load_word(&buf);
+ PaletteID pal = grf_load_word(&buf);
bridge->sprite_table[tableid][sprite].sprite = image;
bridge->sprite_table[tableid][sprite].pal = pal;