diff Chest.cpp @ 1980:c1c74df0a33e

changing most of auto types to their actual types
author Grumpy7
date Wed, 30 Oct 2013 00:47:37 -0700
parents 35c1e4ff6ba7
children 37f42cfc881d
line wrap: on
line diff
--- a/Chest.cpp	Mon Oct 28 22:16:42 2013 -0700
+++ b/Chest.cpp	Wed Oct 30 00:47:37 2013 -0700
@@ -67,7 +67,7 @@
   assert( uChestID < 20 );
   if ( ( uChestID < 0 ) && ( uChestID >= 20 ) )
     return false;
-  auto chest = &pChests[uChestID];
+  Chest* chest = &pChests[uChestID];
 
   ++pIcons_LOD->uTexturePacksCount;
   if (!pIcons_LOD->uNumPrevLoadedFiles)
@@ -212,7 +212,7 @@
     v1 = pRenderer->pActiveZBuffer[v0->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v3)->y]];
     if ( v1 )
     {
-      auto _w = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C
+      ItemGen* _w = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C
                                              + 18 * *((short *)&pChests[0].igChestItems[139].uExpireTime
                                                + v1 + 2662 * (unsigned int)pChestWindow->ptr_1C + 3));