summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 11:15:35 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 11:15:35 +0200
commit3a132996f798dbf552ac858b06fa656b6790a501 (patch)
tree050396efcc609d5234414f15d52b6f4c123e6f80 /example
parentff7041ab8d0c176a7c9764656c21177944f52c31 (diff)
downloadmanaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.gz
manaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.xz
manaserv-3a132996f798dbf552ac858b06fa656b6790a501.zip
Use a full user data for Entity references
Only moved a single script function to a member for now, will do others in a separate commit.
Diffstat (limited to 'example')
-rw-r--r--example/scripts/maps/desert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua
index 782dd2b..6b761dc 100644
--- a/example/scripts/maps/desert.lua
+++ b/example/scripts/maps/desert.lua
@@ -126,7 +126,7 @@ function Tamer(npc, ch, list)
posY(npc) - 3 * TILESIZE,
6 * TILESIZE, 6 * TILESIZE)) do
if being_type(b) == TYPE_MONSTER then
- monster_remove(b)
+ b:remove()
end
end