summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-06 18:34:59 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:27 +0200
commit1de4221b9e906ce8324237943165c161f78b5e07 (patch)
tree5115e8ef51d353218e108629beee379dbebaf9ef /lib
parent818696e7d00a0f504f9e147ee691164ae391e0bb (diff)
Lua: Remove unused lose_all_corruptions()
Diffstat (limited to 'lib')
-rw-r--r--lib/core/crpt_aux.lua9
-rw-r--r--lib/mods/theme/core/crpt_aux.lua9
2 files changed, 0 insertions, 18 deletions
diff --git a/lib/core/crpt_aux.lua b/lib/core/crpt_aux.lua
index 7703a815..369cf5d1 100644
--- a/lib/core/crpt_aux.lua
+++ b/lib/core/crpt_aux.lua
@@ -120,15 +120,6 @@ function lose_corruption()
end
end
--- Lose all corruptions (for e.g. Potion of New Life)
-function lose_all_corruptions()
- local i;
- for i = 0, __corruptions_max - 1 do
- lose_corruption()
- end
- return -1
-end
-
-- Creates a new corruption
function add_corruption(c)
assert(c.color, "No corruption color")
diff --git a/lib/mods/theme/core/crpt_aux.lua b/lib/mods/theme/core/crpt_aux.lua
index 7703a815..369cf5d1 100644
--- a/lib/mods/theme/core/crpt_aux.lua
+++ b/lib/mods/theme/core/crpt_aux.lua
@@ -120,15 +120,6 @@ function lose_corruption()
end
end
--- Lose all corruptions (for e.g. Potion of New Life)
-function lose_all_corruptions()
- local i;
- for i = 0, __corruptions_max - 1 do
- lose_corruption()
- end
- return -1
-end
-
-- Creates a new corruption
function add_corruption(c)
assert(c.color, "No corruption color")