All pastes #968874 Raw Edit

MasterLootFix5515.patch

public cpp v1 · immutable
·published 2008-04-03 10:59 UTC
rendered paste body
Index: src/game/LootHandler.cpp===================================================================--- src/game/LootHandler.cpp	(revision 5538)+++ src/game/LootHandler.cpp	(working copy)@@ -497,7 +497,7 @@     }      // not move item from loot to target inventory-    Item * newitem = target->StoreNewItem( dest, itemid, true );+    Item * newitem = target->StoreNewItem( dest, itemid, true, pLoot->items[slotid].randomPropertyId );      pLoot->items[slotid].count=0;     pLoot->items[slotid].is_looted=true;