From e4a7536e7ca14dcc257d60f8562a9dab61c4fd34 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 27 Dec 2011 05:59:55 +0800 Subject: Made all beings capable of having a gender Reviewed-by: o11c, bjorn, Bertram. --- scripts/lua/libmana.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/lua/libmana.lua b/scripts/lua/libmana.lua index d0d8666..361fd7d 100644 --- a/scripts/lua/libmana.lua +++ b/scripts/lua/libmana.lua @@ -40,8 +40,8 @@ local timer -- Creates an NPC and associates the given handler. -- Note: Cannot be called until map initialization has started. -function create_npc(name, id, x, y, talkfunct, updatefunct) - local npc = mana.npc_create(name, id, x, y) +function create_npc(name, id, gender, x, y, talkfunct, updatefunct) + local npc = mana.npc_create(name, id, gender, x, y) if talkfunct then npc_talk_functs[npc] = function(npc, ch) talkfunct(npc, ch) -- cgit