diff Chest.cpp @ 515:cb0ad52d6a26

LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people) Some object-related subs moved to SpriteObject.cpp
author Nomad
date Fri, 01 Mar 2013 21:13:12 +0200
parents 0dbf780e247f
children 214d9d47cf1f 55d0794848d1
line wrap: on
line diff
--- a/Chest.cpp	Fri Mar 01 18:23:49 2013 +0200
+++ b/Chest.cpp	Fri Mar 01 21:13:12 2013 +0200
@@ -61,7 +61,7 @@
   signed int v25; // ecx@28
   char *v26; // edx@29
   unsigned __int16 v27; // ax@32
-  //LayingItem a1; // [sp+14h] [bp-B0h]@28
+  //SpriteObject a1; // [sp+14h] [bp-B0h]@28
   int v29; // [sp+84h] [bp-40h]@16
   int v30; // [sp+88h] [bp-3Ch]@16
   int v31; // [sp+8Ch] [bp-38h]@16
@@ -169,8 +169,8 @@
     v23 = (unsigned int *)(&v29 + v35);
     sub_42F7EB_DropItemAt(*v23, pOut.x, pOut.z, pOut.y, 0, 1, 0, 0x30u, 0);
     
-    LayingItem a1; // [sp+14h] [bp-B0h]@28
-    //LayingItem::LayingItem(&a1);
+    SpriteObject a1; // [sp+14h] [bp-B0h]@28
+    //SpriteObject::SpriteObject(&a1);
 
     a1.stru_24.Reset();
     v24 = *(short *)v23;
@@ -179,7 +179,7 @@
     a1.field_4C = 0;
     a1.field_48 = 0;
     a1.field_54 = 0;
-    a1.uItemType = v24;
+    a1.uType = v24;
     if ( (signed int)pObjectList->uNumObjects <= 0 )
     {
 LABEL_32: