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

pull/155/head
glx 18 years ago
parent aeb7c0916c
commit bb8cfc1b9e

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

Loading…
Cancel
Save