Mercurial > mm7
diff Player.cpp @ 1006:e865f349aa41
ui cleanup
author | Gloval |
---|---|
date | Sat, 18 May 2013 22:01:26 +0400 |
parents | dcdfbb6eede9 |
children | 446175a32a15 |
line wrap: on
line diff
--- a/Player.cpp Thu May 16 15:14:58 2013 +0200 +++ b/Player.cpp Sat May 18 22:01:26 2013 +0400 @@ -1376,7 +1376,7 @@ if ( !areWeLoadingTexture ) { v4->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } if ( (signed int)(v5 + (signed int)uSlot % 14) <= 14 && (signed int)(uItemIDa + (signed int)uSlot / 14) <= 9 ) { @@ -1471,7 +1471,7 @@ if ( !areWeLoadingTexture ) { v8->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } if ( (signed int)uItemIDa > 0 ) { @@ -1680,7 +1680,7 @@ if ( !areWeLoadingTexture ) { v7->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } v8 = uSlot; if ( (signed int)v11 > 0 ) @@ -1720,7 +1720,7 @@ if ( !areWeLoadingTexture ) { v6->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } if ( (signed int)a2a > 0 ) { @@ -1741,8 +1741,8 @@ // 506128: using guessed type int areWeLoadingTexture; //----- (00492A36) -------------------------------------------------------- -unsigned int Player::RemoveItemAtInventoryIndex(unsigned int uSlot) -{ +void Player::RemoveItemAtInventoryIndex( unsigned int uSlot ) + { int *pIndices; // edi@1 ItemGen *v3; // ecx@1 unsigned int v4; // esi@1 @@ -1764,7 +1764,7 @@ if ( !areWeLoadingTexture ) { v6->Release(); - result = pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } if ( (signed int)v8 > 0 ) { @@ -1781,7 +1781,7 @@ } while ( v8 ); } - return result; + } // 506128: using guessed type int areWeLoadingTexture; @@ -2431,7 +2431,7 @@ if ( !v21 ) { v7->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } goto LABEL_15; } @@ -2443,7 +2443,7 @@ if ( !v21 ) { v7->Release(); - pIcons_LOD->_40F9C5(); + pIcons_LOD->SyncLoadedFilesCount(); } result = 1; }