Changeset - r21276:8b14e51f58a8
[Not reviewed]
master
0 1 0
rubidium - 10 years ago 2014-02-22 21:12:28
rubidium@openttd.org
(svn r26364) -Fix [FS#5892]: writing out of the bounds of the rail type map
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf.h
Show inline comments
 
@@ -126,7 +126,7 @@ struct GRFFile : ZeroedMemoryAllocator {
 
	uint8 cargo_map[NUM_CARGO];                     ///< Inverse cargo translation table (CargoID -> local ID)
 

	
 
	SmallVector<RailTypeLabel, 4> railtype_list;    ///< Railtype translation table
 
	RailType railtype_map[RAILTYPE_END];
 
	RailTypeByte railtype_map[RAILTYPE_END];
 

	
 
	CanalProperties canal_local_properties[CF_END]; ///< Canal properties as set by this NewGRF
 

	
0 comments (0 inline, 0 general)