summaryrefslogtreecommitdiffstats
path: root/src/scripting
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-19 22:09:25 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-03-25 20:32:36 +0100
commit7aeb3b4a6c34a8f679719c207e51394d7e48828b (patch)
treec92af607288f041944f7a876e3a9478b35ba6499 /src/scripting
parent7aee56f062989c8901322a09b2da40bb028eb222 (diff)
downloadmanaserv-7aeb3b4a6c34a8f679719c207e51394d7e48828b.tar.gz
manaserv-7aeb3b4a6c34a8f679719c207e51394d7e48828b.tar.xz
manaserv-7aeb3b4a6c34a8f679719c207e51394d7e48828b.zip
Changed Effect to a component of Actor
Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/scripting')
-rw-r--r--src/scripting/lua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index 0dd6582..705ee4c 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -443,7 +443,7 @@ static int effect_create(lua_State *s)
{
// being mode
Being *b = checkBeing(s, 2);
- Effects::show(id, b->getMap(), b);
+ Effects::show(id, b);
}
else
{