mirror of https://github.com/OpenTTD/OpenTTD
Codechange: Use correct char type in RemapNewGRFStringControlCode. (#13173)
parent
e3e3cb13c6
commit
c4424aa894
|
@ -825,7 +825,7 @@ void StopTextRefStackUsage()
|
|||
* @param modify_parameters When true, modify the OpenTTD string formatting parameters.
|
||||
* @return the string control code to "execute" now
|
||||
*/
|
||||
uint RemapNewGRFStringControlCode(uint scc, const char **str, StringParameters ¶meters, bool modify_parameters)
|
||||
char32_t RemapNewGRFStringControlCode(char32_t scc, const char **str, StringParameters ¶meters, bool modify_parameters)
|
||||
{
|
||||
switch (scc) {
|
||||
default: break;
|
||||
|
|
|
@ -347,6 +347,6 @@ void GenerateTownNameString(StringBuilder &builder, size_t lang, uint32_t seed);
|
|||
void GetTownName(StringBuilder &builder, const struct Town *t);
|
||||
void GRFTownNameGenerate(StringBuilder &builder, uint32_t grfid, uint16_t gen, uint32_t seed);
|
||||
|
||||
uint RemapNewGRFStringControlCode(uint scc, const char **str, StringParameters ¶meters, bool modify_parameters);
|
||||
char32_t RemapNewGRFStringControlCode(char32_t scc, const char **str, StringParameters ¶meters, bool modify_parameters);
|
||||
|
||||
#endif /* STRINGS_INTERNAL_H */
|
||||
|
|
Loading…
Reference in New Issue