Check that there is space left before pushing NewGRF params
commit77548e3949a8be153a68be0b37bcec7301c4ca2a
authorfrosch <frosch@openttd.org>
Sun, 12 Jan 2014 18:00:02 +0000 (12 18:00 +0000)
committercirdan <cirdansw@gmail.com>
Fri, 21 Feb 2014 21:51:14 +0000 (21 22:51 +0100)
tree99ee907064d8fe4b6c0def4e44fd539ad4109c66
parent19431c03db8bf05a769f526efde7e216a2f42d5a
Check that there is space left before pushing NewGRF params

(openttd r26239) -Fix: Check that there is space left in the
string parameter array, before pushing NewGRF parameters to it.
src/newgrf_text.cpp
src/newgrf_text.h
src/strings.cpp