diff mm7_6.cpp @ 1829:e4e27261d84e

sub_421B2C_PlaceInInventory_or_DropPickedItem to Party::sub_421B2C_PlaceInInventory_or_DropPickedItem
author Grumpy7
date Fri, 11 Oct 2013 07:29:14 +0200
parents 35c1e4ff6ba7
children 2e6d3cd052e0
line wrap: on
line diff
--- a/mm7_6.cpp	Fri Oct 11 07:04:19 2013 +0200
+++ b/mm7_6.cpp	Fri Oct 11 07:29:14 2013 +0200
@@ -59,7 +59,7 @@
   int v13; // [sp+30h] [bp-8h]@1
   int v14; // [sp+34h] [bp-4h]@1
 
-  sub_421B2C_PlaceInInventory_or_DropPickedItem();
+  pParty->sub_421B2C_PlaceInInventory_or_DropPickedItem();
   Dst.Reset();
   v2 = 0;
   v3 = ((unsigned int)&array_77EC08[1975].pEdgeList1[1] & pActor->uAttributes) == 0;
@@ -125,7 +125,7 @@
     {
       if ( !pParty->AddItemToParty(pActor->array_000234) )
       {
-        sub_421B2C_PlaceInInventory_or_DropPickedItem();
+        pParty->sub_421B2C_PlaceInInventory_or_DropPickedItem();
         pParty->SetHoldingItem(pActor->array_000234);
       }
       pActor->array_000234[0].Reset();
@@ -134,7 +134,7 @@
     {
       if ( !pParty->AddItemToParty(&pActor->array_000234[1]) )
       {
-        sub_421B2C_PlaceInInventory_or_DropPickedItem();
+        pParty->sub_421B2C_PlaceInInventory_or_DropPickedItem();
         pParty->SetHoldingItem(&pActor->array_000234[1]);
       }
       pActor->array_000234[1].Reset();
@@ -182,7 +182,7 @@
   {
     if ( !v8->AddItemToParty(pActor->array_000234) )
     {
-      sub_421B2C_PlaceInInventory_or_DropPickedItem();
+      pParty->sub_421B2C_PlaceInInventory_or_DropPickedItem();
       v8->SetHoldingItem(pActor->array_000234);
       v13 = 1;
     }
@@ -192,7 +192,7 @@
   {
     if ( !v8->AddItemToParty(&pActor->array_000234[1]) )
     {
-      sub_421B2C_PlaceInInventory_or_DropPickedItem();
+      pParty->sub_421B2C_PlaceInInventory_or_DropPickedItem();
       v8->SetHoldingItem(&pActor->array_000234[1]);
       v13 = 1;
     }