diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-12-27 05:59:55 +0800 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-01-02 19:59:31 +0800 |
commit | e4a7536e7ca14dcc257d60f8562a9dab61c4fd34 (patch) | |
tree | f4f1e8630b1fc15cf2bc9bfd13f25a69bb4c99cc /scripts/lua | |
parent | 646fb10397e440ab67fb5a678bf034c53b050109 (diff) | |
download | manaserv-e4a7536e7ca14dcc257d60f8562a9dab61c4fd34.tar.gz manaserv-e4a7536e7ca14dcc257d60f8562a9dab61c4fd34.tar.bz2 manaserv-e4a7536e7ca14dcc257d60f8562a9dab61c4fd34.tar.xz manaserv-e4a7536e7ca14dcc257d60f8562a9dab61c4fd34.zip |
Made all beings capable of having a gender
Reviewed-by: o11c, bjorn, Bertram.
Diffstat (limited to 'scripts/lua')
-rw-r--r-- | scripts/lua/libmana.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lua/libmana.lua b/scripts/lua/libmana.lua index d0d8666f..361fd7db 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) |