Codefix: Spelling error in name of GetGRFStringTextStackParameters (#14447)
This commit is contained in:
committed by
GitHub
parent
6b6caa6fa8
commit
7f792e9c5f
@@ -476,7 +476,7 @@ CommandCost GetErrorMessageFromLocationCallbackResult(uint16_t cb_res, std::span
|
||||
/* If this error isn't for the local player then it won't be seen, so don't bother encoding anything. */
|
||||
if (IsLocalCompany()) {
|
||||
StringID stringid = GetGRFStringID(grffile->grfid, text_id);
|
||||
auto params = GetGRFSringTextStackParameters(grffile, stringid, textstack);
|
||||
auto params = GetGRFStringTextStackParameters(grffile, stringid, textstack);
|
||||
res.SetEncodedMessage(GetEncodedStringWithArgs(stringid, params));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user