summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
Diffstat (limited to 'table')
-rw-r--r--table/autorail.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/autorail.h b/table/autorail.h
index 2519aa6a8..1968d90c6 100644
--- a/table/autorail.h
+++ b/table/autorail.h
@@ -13,7 +13,7 @@
// table maps each of the six rail directions and tileh combinations to a sprite
// invalid entries are required to make sure that this array can be quickly accessed
-const int _AutorailTilehSprite[31][6] = {
+static const int _AutorailTilehSprite[][6] = {
// type 0 1 2 3 4 5
{ 0, 8, 16, 25, 34, 42 }, // tileh = 0
{ 5, 13, RED(22), RED(31), 35, 42 }, // tileh = 1
@@ -52,7 +52,7 @@ const int _AutorailTilehSprite[31][6] = {
// maps each pixel of a tile (16x16) to a selection type
// (0,0) is the top corner, (16,16) the bottom corner
-const byte _AutorailPiece[16][16] = {
+static const byte _AutorailPiece[][16] = {
{ 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 },
{ 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 },
{ 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5 },