summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-09-02 20:01:18 +0000
committerfrosch <frosch@openttd.org>2008-09-02 20:01:18 +0000
commit3ce1a5672ed004b2d9c96887bcb9011c396debaa (patch)
tree4e9876c631d7047f15a9a651d805d769dbb28eb1 /src/table
parentfc216aeeb86f5e84db06f51ad1e3172d6c343b3b (diff)
downloadopenttd-3ce1a5672ed004b2d9c96887bcb9011c396debaa.tar.xz
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/palette_convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/palette_convert.h b/src/table/palette_convert.h
index 33864f82c..ca43c6893 100644
--- a/src/table/palette_convert.h
+++ b/src/table/palette_convert.h
@@ -39,7 +39,7 @@ static const byte _palmap_w2d[] = {
};
/** Converting from the DOS palette to the Windows palette */
-static const byte _palmap_d2w[] = {
+extern const byte _palmap_d2w[] = {
0, 215, 216, 136, 88, 106, 32, 33, // 0..7
40, 245, 10, 11, 12, 13, 14, 15, // 8..15
16, 17, 18, 19, 20, 21, 22, 23, // 16..23