summaryrefslogtreecommitdiff
path: root/src/cmd5.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-02 22:10:00 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:25 +0200
commit65a41a0ef06a606927a6b2866e0172f0d5c98e11 (patch)
tree75b5b16755ffedad5013bad349dcd552ca37b812 /src/cmd5.c
parenta5a4f737005258097fb46a7c746ac202575fd03e (diff)
Lua: Move "outfit player" code to C.
Diffstat (limited to 'src/cmd5.c')
-rw-r--r--src/cmd5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd5.c b/src/cmd5.c
index b415b166..847c279b 100644
--- a/src/cmd5.c
+++ b/src/cmd5.c
@@ -2538,7 +2538,7 @@ void do_cmd_copy_spell()
/*
* Finds a spell by name, optimized for speed
*/
-int find_spell(char *name)
+int find_spell(const char *name)
{
int oldtop, spell;
oldtop = lua_gettop(L);