Changeset - r4626:5bce4eb15edb
[Not reviewed]
master
0 1 0
glx - 18 years ago 2006-09-20 01:08:50
glx@openttd.org
(svn r6486) -Fix (r6485): wrong variable name used in GetNewgrfCurrencyIdConverted()
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
currency.c
Show inline comments
 
@@ -117,7 +117,7 @@ const byte TTDPatch_To_OTTDIndex[] =
 
 **/
 
byte GetNewgrfCurrencyIdConverted(byte grfcurr_id)
 
{
 
	return (grf_id >= lengthof(TTDPatch_To_OTTDIndex)) ? grfcurr_id : TTDPatch_To_OTTDIndex[grfcurr_id];
 
	return (grfcurr_id >= lengthof(TTDPatch_To_OTTDIndex)) ? grfcurr_id : TTDPatch_To_OTTDIndex[grfcurr_id];
 
}
 

	
 
/* get a mask of the allowed currencies depending on the year */
0 comments (0 inline, 0 general)