Compact layout memory allocation in IndustriesChangeInfo
commit90f5ca6feea6892a6f55c9bde2afd55b412eff3f
authorcirdan <cirdansw@gmail.com>
Fri, 24 Nov 2017 20:32:35 +0000 (24 21:32 +0100)
committercirdan <cirdansw@gmail.com>
Fri, 24 Nov 2017 20:32:35 +0000 (24 21:32 +0100)
tree777f8d22fe9367cc076e2a5bf5a8b02b259cb850
parent4f00e5de1b54ad7f88630ab1a9ee389b792a4f51
Compact layout memory allocation in IndustriesChangeInfo

Allocate the tile layout pointer vector and the tile layouts
themselves in one memory chunk when handling property 0x0A in
IndustriesChangeInfo.
src/newgrf.cpp