diff Party.cpp @ 1990:84fa3c83d63f

char picking up item off by one fixed
author Grumpy7
date Sun, 03 Nov 2013 01:19:07 -0800
parents c1c74df0a33e
children bb0da61e4a7e
line wrap: on
line diff
--- a/Party.cpp	Wed Oct 30 00:47:37 2013 -0700
+++ b/Party.cpp	Sun Nov 03 01:19:07 2013 -0800
@@ -1122,7 +1122,7 @@
     v8 = 0;
     for (int i = 0; i < 4; i++)
     {
-      v9 = &pPlayers[(uActiveCharacter + i) % 4];  //start with current active player, then cycle right if item won't fit
+      v9 = ::pPlayers[(uActiveCharacter + i) % 4];  //start with current active player, then cycle right if item won't fit
       v10 = v9->AddItem(-1, pItem->uItemID);
       if ( v10 )
       {