summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-03-05 09:37:43 +0000
committerpeter1138 <peter1138@openttd.org>2008-03-05 09:37:43 +0000
commitf08cf322163e3b3f67d5133334c31269b036e99d (patch)
treec6040275f1661dd9f6972af5ecf6b2175fcef413 /src
parenta6ee46a5a06ab53eedbd9b6bb690685f6974cc54 (diff)
downloadopenttd-f08cf322163e3b3f67d5133334c31269b036e99d.tar.xz
(svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 0b1d0122a..476747f95 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -120,7 +120,7 @@ static uint16 cargo_disallowed[TOTAL_NUM_ENGINES];
static uint32 _grm_engines[TOTAL_NUM_ENGINES];
/* Contains the GRF ID of the owner of a cargo if it has been reserved */
-static uint32 _grm_cargos[NUM_CARGO];
+static uint32 _grm_cargos[NUM_CARGO * 2];
/** DEBUG() function dedicated to newGRF debugging messages
* Function is essentialy the same as DEBUG(grf, severity, ...) with the