summaryrefslogtreecommitdiff
path: root/lib/mods
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-05-28 07:55:57 +0200
committerBardur Arantsson <bardur@scientician.net>2012-05-29 21:43:56 +0200
commit77fcd7e02c87167002b8294a47c6cc37a0c960b3 (patch)
tree46d377f3994b514778162060f514d73359a942bb /lib/mods
parentf2b27a7ab74529504da68d418fdcecabd5ee989a (diff)
Lua: Reintroduce the "obvious" flag from casting
This got accidentally removed when moving the spell functions to C.
Diffstat (limited to 'lib/mods')
-rw-r--r--lib/mods/theme/core/s_aux.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/mods/theme/core/s_aux.lua b/lib/mods/theme/core/s_aux.lua
index 9a39df14..3e98ec94 100644
--- a/lib/mods/theme/core/s_aux.lua
+++ b/lib/mods/theme/core/s_aux.lua
@@ -144,16 +144,3 @@ function get_level(s, max, min)
if not min then min = 1 end
return %get_level(s, max, min)
end
-
--- Helper function for spell effect to know if they are or not obvious
-function is_obvious(effect, old)
- if old then
- if old == TRUE or effect == TRUE then
- return TRUE
- else
- return FALSE
- end
- else
- return effect
- end
-end