diff options
Diffstat (limited to 'src/newgrf_commons.cpp')
-rw-r--r-- | src/newgrf_commons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 81228866d..ef75be5d8 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -501,7 +501,7 @@ CommandCost GetErrorMessageFromLocationCallbackResult(uint16 cb_res, const GRFFi } /* Copy some parameters from the registers to the error message text ref. stack */ - res.UseTextRefStack(4); + res.UseTextRefStack(grffile, 4); return res; } |