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
+1 -1
View File
@@ -647,7 +647,7 @@ void Client::FinishTrade(Mob* tradingWith, ServerPacket* qspack, bool finalizer)
parse->AddVar(temp1, temp2);
for(int y = 0; y < 5; y++) {
snprintf(temp1, 100, "item%d.augment.%d", z + 1, tradingWith->GetNPCTypeID());
snprintf(temp1, 100, "item%d.augment%d.%d", z + 1, y + 1, tradingWith->GetNPCTypeID());
snprintf(temp2, 100, "%d", augments[z][y]);
parse->AddVar(temp1, temp2);
}