1
0
Fork 0

(svn r6486) -Fix (r6485): wrong variable name used in GetNewgrfCurrencyIdConverted()

release/0.5
glx 2006-09-20 01:08:50 +00:00
parent b51d58a44c
commit c7d0baefbb
1 changed files with 1 additions and 1 deletions

View File

@ -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 */