summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-03 19:54:46 +0000
committertron <tron@openttd.org>2005-03-03 19:54:46 +0000
commit0c3927ce4a45ca8c446083b6101ebaf005b09748 (patch)
treef0ea77598e2b4e1426e582ae234be1e66acb7623 /variables.h
parentae4995c671f09185ccf5aa3e85653b2ac2d4583b (diff)
downloadopenttd-0c3927ce4a45ca8c446083b6101ebaf005b09748.tar.xz
(svn r1921) -Fix: Out of bounds array access which caused oil rigs to accept other cargo types besides passengers and mail
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/variables.h b/variables.h
index 07d23013c..1f7dbf587 100644
--- a/variables.h
+++ b/variables.h
@@ -427,8 +427,8 @@ extern const TileTypeProcs * const _tile_type_procs[16];
/* station_cmd.c */
// there are 5 types of airport (Country (3x4) , City(6x6), Metropolitan(6x6), International(7x7), Heliport(1x1)
// will become obsolete once airports are loaded from seperate file
-extern const byte _airport_size_x[5];
-extern const byte _airport_size_y[5];
+extern const byte _airport_size_x[];
+extern const byte _airport_size_y[];
/* misc */
VARDEF char _screenshot_name[128];