From 9f244e90b282a996cbce644baaa0711122bed355 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Wed, 27 Jun 2012 22:11:30 +0200 Subject: [PATCH] Little correction to last patch - really override entity_delete(). --- Aquaria/ScriptInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/ScriptInterface.cpp b/Aquaria/ScriptInterface.cpp index daced46..dde0278 100644 --- a/Aquaria/ScriptInterface.cpp +++ b/Aquaria/ScriptInterface.cpp @@ -7442,7 +7442,6 @@ static const struct { luaRegister(entity_getVectorToEntity), luaRegister(entity_getDistanceToTarget), - { "entity_delete", l_entity_delete_override }, luaRegister(entity_move), luaRegister(entity_getID), @@ -8075,6 +8074,7 @@ static const struct { // -- overrides / special cases-- {"bone_getPosition", l_bone_getWorldPosition}, + { "entity_delete", l_entity_delete_override }, // -- deprecated/compatibility related functions below here --