summaryrefslogtreecommitdiff
path: root/src/files.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-07 20:47:47 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 20:47:47 +0200
commit5ea970c82ba3119ca3a5ee68037aee7cdda6dfa3 (patch)
tree0ea4395ab8fe0cf0f6ff480228a3fb0964926fd7 /src/files.c
parent23ead090b5c135702eb8b178d8c74cb347815c29 (diff)
Lua: Moved mimicry to C
Diffstat (limited to 'src/files.c')
-rw-r--r--src/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.c b/src/files.c
index 96ee66a9..4e1a1984 100644
--- a/src/files.c
+++ b/src/files.c
@@ -2644,7 +2644,7 @@ errr file_character(cptr name, bool_ full)
if (p_ptr->tim_mimic)
{
- call_lua("get_mimic_info", "(d,s)", "s", p_ptr->mimic_form, "name", &mimic);
+ mimic = get_mimic_name(p_ptr->mimic_form);
fprintf(fff, "\n You %s disguised as a %s.", (death ? "were" : "are"), mimic);
}
}