From 3a132996f798dbf552ac858b06fa656b6790a501 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 14 Apr 2013 11:15:35 +0200 Subject: 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. --- example/scripts/maps/desert.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/scripts') 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 -- cgit