Changed EVENT_TRADE to pass iteminst instead of variable ids, perl will not have changed at all but lua now passes the iteminsts in the trade object. Also redid a bunch of the spell quest stuff

This commit is contained in:
KimLS
2013-06-05 16:47:49 -07:00
parent 6d0c0aee7d
commit a3738dc131
20 changed files with 428 additions and 248 deletions
+1 -7
View File
@@ -490,13 +490,7 @@ int command_init(void) {
*/
void command_deinit(void)
{
/* LinkedListIterator<CommandRecord *> cur(cleanup_commandlist);
while(cur.MoreElements()) {
CommandRecord *tmp = cur.GetData();
safe_delete(tmp);
cur.Advance();
}
*/ commandlist.clear();
commandlist.clear();
command_dispatch = command_notavail;
commandcount = 0;