diff Overlays.cpp @ 472:7dfe960c323c

BLV_UpdateDoors
author Nomad
date Tue, 26 Feb 2013 05:00:40 +0200
parents 8b8fd4d83fdc
children f451efdb7c8b
line wrap: on
line diff
--- a/Overlays.cpp	Mon Feb 25 23:33:15 2013 +0400
+++ b/Overlays.cpp	Tue Feb 26 05:00:40 2013 +0200
@@ -152,12 +152,8 @@
 //----- (00458D97) --------------------------------------------------------
 void OverlayList::InitializeSprites()
 {
-  OverlayList *v1; // esi@1
-  signed int i; // edi@1
-
-  v1 = this;
-  for ( i = 0; i < (signed int)v1->uNumOverlays; ++i )
-    pSpriteFrameTable->InitializeSprite(v1->pOverlays[i].uSpriteFramesetID);
+  for (uint i = 0; i < uNumOverlays; ++i)
+    pSpriteFrameTable->InitializeSprite(pOverlays[i].uSpriteFramesetID);
 }
 
 //----- (00458DBC) --------------------------------------------------------