forked from mirror/OpenTTD
(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user