diff options
author | frosch <frosch@openttd.org> | 2011-07-03 13:49:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-07-03 13:49:29 +0000 |
commit | f93c8ce5aaf8e02bd7e3325f3b84530e9bcda7f4 (patch) | |
tree | ff6d3110876298d3d5ba201c299066dfc847939a /src/newgrf_industries.cpp | |
parent | d29def43b072864fd80495b1ff786476e094c771 (diff) | |
download | openttd-f93c8ce5aaf8e02bd7e3325f3b84530e9bcda7f4.tar.xz |
(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r-- | src/newgrf_industries.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index 35f853712..5cf9eb6ae 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -551,7 +551,7 @@ CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uin /* Copy some parameters from the registers to the error message text ref. stack */ SwitchToErrorRefStack(); - PrepareTextRefStackUsage(4); + StartTextRefStackUsage(4); SwitchToNormalRefStack(); switch (result) { |