diff mm7_6.cpp @ 810:f5156b8c61ad

savegame refactoring
author Gloval
date Tue, 26 Mar 2013 00:57:54 +0400
parents 41b4e9769863
children cfc65feef029
line wrap: on
line diff
--- a/mm7_6.cpp	Mon Mar 25 14:56:50 2013 +0200
+++ b/mm7_6.cpp	Tue Mar 26 00:57:54 2013 +0400
@@ -8290,39 +8290,7 @@
   }
 }
 
-//----- (0042FA22) --------------------------------------------------------
-SpriteObject *__cdecl sub_42FA22_mess_with_laying_item_list()
-{
-  size_t v0; // edx@1
-  int v1; // ebp@1
-  SpriteObject *result; // eax@1
-  SpriteObject *v3; // ebx@1
-
-  v0 = 0;
-  v1 = 0;
-  //result = (char *)&pSpriteObjects[0].uObjectDescID;
-  result = pSpriteObjects;
-  v3 = pSpriteObjects;
-  do
-  {
-	if ( result->uObjectDescID )
-    {
-      if ( v1 != v0 )
-      {
-        memcpy(v3, result, 0x70u);
-        result->uObjectDescID = 0;
-      }
-      ++v0;
-      ++v3;// = (char *)v3 + 112;
-    }
-    ++result;// += 112;
-    ++v1;
-  }
-  //while ( (signed int)result < (signed int)((char *)&pObjectList->uNumObjects + 2) );
-  while( result <= &pSpriteObjects[999] );
-  uNumSpriteObjects = v0;
-  return result;
-}
+
 
 //----- (0042FA66) --------------------------------------------------------
 int __fastcall _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6)