src/newgrf_text.cpp
changeset 6573 7624f942237f
parent 5908 a4b003987587
child 6574 e1d1a12faaf7
equal deleted inserted replaced
6572:e35266003390 6573:7624f942237f
   439 
   439 
   440 /**
   440 /**
   441  * House cleaning.
   441  * House cleaning.
   442  * Remove all strings and reset the text counter.
   442  * Remove all strings and reset the text counter.
   443  */
   443  */
   444 void CleanUpStrings(void)
   444 void CleanUpStrings()
   445 {
   445 {
   446 	uint id;
   446 	uint id;
   447 
   447 
   448 	for (id = 0; id < _num_grf_texts; id++) {
   448 	for (id = 0; id < _num_grf_texts; id++) {
   449 		GRFText *grftext = _grf_text[id].textholder;
   449 		GRFText *grftext = _grf_text[id].textholder;