Move engine allocation handling in GlobalVarChangeInfo
commit59cbbf5d2f6aa2488af62ca58e8d5261510a8151
authorcirdan <cirdansw@gmail.com>
Sun, 19 Nov 2017 15:38:26 +0000 (19 16:38 +0100)
committercirdan <cirdansw@gmail.com>
Sun, 19 Nov 2017 15:38:26 +0000 (19 16:38 +0100)
tree9128f4264f0c68428861219063dc6b3791639b67
parentf53b976ebedc388cd1ed525b7f03fb9b5304e4a3
Move engine allocation handling in GlobalVarChangeInfo

Move handling of engine allocations in GlobalVarChangeInfo to the
first switch in the function, as it is just a matter of skipping
all the data.
src/newgrf.cpp