forked from github/server
delete leftover npc callbacks.
This commit is contained in:
parent
fc0616ed1e
commit
4978e95b9a
1 changed files with 0 additions and 13 deletions
|
@ -455,19 +455,6 @@ int fctr_handle(struct trigger *tp, void *data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fctr_init(trigger * t)
|
|
||||||
{
|
|
||||||
t->data.v = calloc(sizeof(fctr_data), 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void fctr_done(trigger * t)
|
|
||||||
{
|
|
||||||
fctr_data *fd = (fctr_data *)t->data.v;
|
|
||||||
lua_State *L = (lua_State *)global.vm_state;
|
|
||||||
luaL_unref(L, LUA_REGISTRYINDEX, fd->fhandle);
|
|
||||||
free(fd);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int tolua_unit_addnotice(lua_State * L)
|
static int tolua_unit_addnotice(lua_State * L)
|
||||||
{
|
{
|
||||||
unit *self = (unit *)tolua_tousertype(L, 1, 0);
|
unit *self = (unit *)tolua_tousertype(L, 1, 0);
|
||||||
|
|
Loading…
Reference in a new issue