Codefix: Spelling error in name of GetGRFStringTextStackParameters (#14447)

This commit is contained in:
Jonathan G Rennison
2025-07-16 14:21:25 +01:00
committed by GitHub
parent 6b6caa6fa8
commit 7f792e9c5f
3 changed files with 4 additions and 4 deletions

View File

@@ -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));
}