summaryrefslogtreecommitdiff
path: root/lib/core
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-06 16:00:55 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:26 +0200
commit893ab1125bb3d25c184750aa146d3d6f5d82aa10 (patch)
treedc6bd22fc15a3d895ee5aaada91a6c2e2940ae0c /lib/core
parentbf358f4520ea47059e02237892955edaa24c8be9 (diff)
Lua: Refactor vampire corruption logic to C
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/player.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/core/player.lua b/lib/core/player.lua
index 16878228..03e9824f 100644
--- a/lib/core/player.lua
+++ b/lib/core/player.lua
@@ -123,13 +123,3 @@ add_hook_script(HOOK_MKEY, "__mkey_fct_activate", "__mkey_fct_activate")
function subrace(racem)
return race_mod_info[racem + 1]
end
-
-function subrace_add_power(subrace, power)
- for i = 1, 4 do
- if subrace.powers[i] == -1 then
- subrace.powers[i] = power
- return not nil
- end
- end
- return nil
-end