From 99be0592e7276a3ff9c40289dd34cf9661eb04fd Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 5 Mar 2008 09:37:43 +0000 Subject: [PATCH] (svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 0b1d0122a0..476747f953 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