Bug fix in event_trade export, exported augments too. Also need to fix overloads

This commit is contained in:
KimLS
2013-05-26 15:56:55 -07:00
parent 850fa5aecc
commit 1e7c5bb9b7
8 changed files with 128 additions and 20 deletions
-11
View File
@@ -822,17 +822,6 @@ void LuaParser::MapFunctions(lua_State *L) {
}
}
void LuaParser::GetErrors(std::list<std::string> &err) {
err.insert(err.end(), errors_.begin(), errors_.end());
}
void LuaParser::AddError(std::string error) {
errors_.push_back(error);
if(errors_.size() > 30) {
errors_.pop_front();
}
}
void LuaParser::DispatchEventNPC(QuestEventID evt, NPC* npc, Mob *init, std::string data, uint32 extra_data) {
if(!npc)
return;