Changeset - r9908:994583979bb3
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-08-12 22:14:57
rubidium@openttd.org
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -443,7 +443,10 @@ uint ShowAdditionalText(int x, int y, ui
 

	
 
	/* STR_02BD is used to start the string with {BLACK} */
 
	SetDParam(0, GetGRFStringID(GetEngineGRFID(engine), 0xD000 + callback));
 
	return DrawStringMultiLine(x, y, STR_02BD, w);
 
	PrepareTextRefStackUsage(0);
 
	uint result = DrawStringMultiLine(x, y, STR_02BD, w);
 
	StopTextRefStackUsage();
 
	return result;
 
}
 

	
 
/** Display list of cargo types of the engine, for the purchase information window */
0 comments (0 inline, 0 general)