Reworked Trade::AddEntity() to allow client-directed movement of stacked items (as close to 'stacking' as I can get it - see changelog.txt)

This commit is contained in:
Uleat
2014-08-20 18:30:19 -04:00
parent 1b6ccca709
commit 5946af88a6
4 changed files with 49 additions and 32 deletions
+1 -1
View File
@@ -1540,7 +1540,7 @@ bool Client::SwapItem(MoveItem_Struct* move_in) {
// Also sends trade information to other client of trade session
if(RuleB(QueryServ, PlayerLogMoves)) { QSSwapItemAuditor(move_in); } // QS Audit
trade->AddEntity(src_slot_id, dst_slot_id);
trade->AddEntity(src_slot_id, dst_slot_id, move_in->number_in_stack);
return true;
} else {