File diff r25654:e264fd698eb2 → r25655:1030dcb7eb52
src/newgrf_text.cpp
Show inline comments
 
@@ -884,7 +884,7 @@ uint RemapNewGRFStringControlCode(uint s
 
		case SCC_NEWGRF_PRINT_WORD_STATION_NAME:
 
		case SCC_NEWGRF_PRINT_WORD_CARGO_NAME:
 
			if (argv_size < 1) {
 
				DEBUG(misc, 0, "Too many NewGRF string parameters.");
 
				Debug(misc, 0, "Too many NewGRF string parameters.");
 
				return 0;
 
			}
 
			break;
 
@@ -893,7 +893,7 @@ uint RemapNewGRFStringControlCode(uint s
 
		case SCC_NEWGRF_PRINT_WORD_CARGO_SHORT:
 
		case SCC_NEWGRF_PRINT_WORD_CARGO_TINY:
 
			if (argv_size < 2) {
 
				DEBUG(misc, 0, "Too many NewGRF string parameters.");
 
				Debug(misc, 0, "Too many NewGRF string parameters.");
 
				return 0;
 
			}
 
			break;