Cleanup of some lua code, initial work on encounter_quests

This commit is contained in:
KimLS
2013-05-19 12:13:44 -07:00
parent 17954dd8fe
commit 69bad31019
34 changed files with 2714 additions and 450 deletions
+2
View File
@@ -21,6 +21,8 @@
//NPC
void handle_npc_event_say(QuestInterface *parse, lua_State* L, NPC* npc, Mob *init, std::string data, uint32 extra_data) {
npc->DoQuestPause(init);
Lua_Client l_client(reinterpret_cast<Client*>(init));
luabind::object l_client_o = luabind::object(L, l_client);
l_client_o.push(L);