Changeset - r16588:0265954e41f2
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-11-25 23:14:48
rubidium@openttd.org
(svn r21328) -Fix: pass the case id when resolving NewGRF strings as well
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/strings.cpp
Show inline comments
 
@@ -142,13 +142,13 @@ char *GetStringWithArgs(char *buffr, uin
 
			break;
 

	
 
		case 28:
 
			return FormatString(buffr, GetGRFStringPtr(index), argv, 0, last);
 
			return FormatString(buffr, GetGRFStringPtr(index), argv, GB(string, 24, 8), last);
 

	
 
		case 29:
 
			return FormatString(buffr, GetGRFStringPtr(index + 0x0800), argv, 0, last);
 
			return FormatString(buffr, GetGRFStringPtr(index + 0x0800), argv, GB(string, 24, 8), last);
 

	
 
		case 30:
 
			return FormatString(buffr, GetGRFStringPtr(index + 0x1000), argv, 0, last);
 
			return FormatString(buffr, GetGRFStringPtr(index + 0x1000), argv, GB(string, 24, 8), last);
 

	
 
		case 31:
 
			NOT_REACHED();
0 comments (0 inline, 0 general)