src/currency.cpp
changeset 9950 2a0d0769c0e3
parent 9466 5a1d4eb2ae07
child 10344 c33159ae992a
equal deleted inserted replaced
9949:392998225bdd 9950:2a0d0769c0e3
   112 	CURR_EUR,
   112 	CURR_EUR,
   113 };
   113 };
   114 
   114 
   115 /**
   115 /**
   116  * Will return the ottd's index correspondance to
   116  * Will return the ottd's index correspondance to
   117  * the ttdpatch's id.  If the id is bigger then the array,
   117  * the ttdpatch's id.  If the id is bigger than the array,
   118  * it is  a grf written for ottd, thus returning the same id.
   118  * it is a grf written for ottd, thus returning the same id.
   119  * Only called from newgrf.c
   119  * Only called from newgrf.cpp
   120  * @param grfcurr_id currency id coming from newgrf
   120  * @param grfcurr_id currency id coming from newgrf
   121  * @return the corrected index
   121  * @return the corrected index
   122  **/
   122  **/
   123 byte GetNewgrfCurrencyIdConverted(byte grfcurr_id)
   123 byte GetNewgrfCurrencyIdConverted(byte grfcurr_id)
   124 {
   124 {