From f93c8ce5aaf8e02bd7e3325f3b84530e9bcda7f4 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 3 Jul 2011 13:49:29 +0000 Subject: (svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation. --- src/newgrf_industrytiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_industrytiles.cpp') diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index a69d655cb..efaa5c3f6 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -310,7 +310,7 @@ CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind /* Copy some parameters from the registers to the error message text ref. stack */ SwitchToErrorRefStack(); - PrepareTextRefStackUsage(4); + StartTextRefStackUsage(4); SwitchToNormalRefStack(); switch (callback_res) { -- cgit v1.2.3-54-g00ecf