equal
deleted
inserted
replaced
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 { |