(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.

This commit is contained in:
frosch
2011-07-03 13:49:29 +00:00
parent d29def43b0
commit f93c8ce5aa
7 changed files with 22 additions and 10 deletions

View File

@@ -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) {