diff Player.cpp @ 222:8113753ed2ae

more item init fixing
author Gloval
date Sun, 17 Feb 2013 11:29:10 +0400
parents 9b77686e2239
children 1bd823f52e3a
line wrap: on
line diff
--- a/Player.cpp	Sat Feb 16 18:46:59 2013 +0400
+++ b/Player.cpp	Sun Feb 17 11:29:10 2013 +0400
@@ -2345,7 +2345,7 @@
 
   v20 = thos;
   v2 = pItem->uItemID;
-  if ( !BYTE2(pItemsTable->pItems[v2 + 1].uItemID) )
+  if ( !pItemsTable->pItems[v2].uItemID_Rep_St )
     pItem->uAttributes |= 1u;
   ///v15 = 0;
   //v16 = 1;