CLuaInstance: Precise error message for obsolete hide() parameter

- Supplement for commit 8882b8913b


Origin commit data
------------------
Commit: f12e49e720
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-01 (Fri, 01 Jan 2016)
This commit is contained in:
Michael Liebmann
2016-01-01 14:42:04 +01:00
parent 7aa6fa2577
commit b23ab6dafb
5 changed files with 12 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ int CLuaInstCCText::CCTextHide(lua_State *L)
bool tmp1 = false;
std::string tmp2 = "false";
if ((tableLookup(L, "no_restore", tmp1)) || (tableLookup(L, "no_restore", tmp2)))
printf("[%s:hide] Warning, obsolete parameter in use, please remove!\n", "ctext");
obsoleteHideParameter(L);
if (D->parent) {
D->ct->setText("", D->mode, g_Font[D->font_text]);