summaryrefslogtreecommitdiff
path: root/lib/core
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/core
parentf2b27a7ab74529504da68d418fdcecabd5ee989a (diff)
Lua: Reintroduce the "obvious" flag from casting
This got accidentally removed when moving the spell functions to C.
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/s_aux.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/core/s_aux.lua b/lib/core/s_aux.lua
index 9a39df14..860892ae 100644
--- a/lib/core/s_aux.lua
+++ b/lib/core/s_aux.lua
@@ -145,15 +145,3 @@ function get_level(s, max, min)
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