diff --git a/luprex/cpp/core/world-accessor.cpp b/luprex/cpp/core/world-accessor.cpp index 118f52ff..b29fab2d 100644 --- a/luprex/cpp/core/world-accessor.cpp +++ b/luprex/cpp/core/world-accessor.cpp @@ -379,14 +379,14 @@ LuaDefine(tangible_redirect, "actor1, actor2", World *w = World::fetch_global_pointer(L); Tangible *actor1 = w->tangible_get(LS, lactor1, true); Tangible *actor2 = w->tangible_get(LS, lactor2, true); - if (!actor1->is_controlled_) { - luaL_error(L, "Actor1 is not a controlled actor."); - return 0; - } - if ((!actor2->can_be_controlled_) || (actor2->is_controlled_)) { - luaL_error(L, "Actor2 is not an uncontrolled actor."); - return 0; - } + // if (!actor1->is_controlled_) { + // luaL_error(L, "Actor1 is not a controlled actor."); + // return 0; + // } + // if ((!actor2->can_be_controlled_) || (actor2->is_controlled_)) { + // luaL_error(L, "Actor2 is not an uncontrolled actor."); + // return 0; + // } w->add_redirect(actor1->id(), actor2->id()); return LS.result(); }