summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-07-08 19:02:26 +0000
committerhackykid <hackykid@openttd.org>2005-07-08 19:02:26 +0000
commitfbe617baba3969142140252810c209f0f1fb91c0 (patch)
treecc77b3c13fd1f0dff9014fd97d291e77ef2ba753 /table
parent15a783ef82dcc68a6801813eec28ac7c035ebf50 (diff)
downloadopenttd-fbe617baba3969142140252810c209f0f1fb91c0.tar.xz
(svn r2532) - Fix: Don't waste space using an int where a byte would suffice. (ludde)
Diffstat (limited to 'table')
-rw-r--r--table/autorail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/autorail.h b/table/autorail.h
index f219f1c7d..43cc03216 100644
--- a/table/autorail.h
+++ b/table/autorail.h
@@ -50,7 +50,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 int AutorailPiece[16][16] = {
+const byte AutorailPiece[16][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 },