diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-14 11:15:35 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-04-14 11:15:35 +0200 |
commit | 3a132996f798dbf552ac858b06fa656b6790a501 (patch) | |
tree | 050396efcc609d5234414f15d52b6f4c123e6f80 /example | |
parent | ff7041ab8d0c176a7c9764656c21177944f52c31 (diff) | |
download | manaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.gz manaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.bz2 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.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua index 782dd2b4..6b761dcd 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 |