comparison UI/UICharacter.cpp @ 1462:f682c853200d

m
author Ritor1
date Sun, 11 Aug 2013 12:09:09 +0600
parents 8b4f4c723edd
children b330df6a2183
comparison
equal deleted inserted replaced
1447:0c462cc807a1 1462:f682c853200d
3134 if ( dword_507CC0_activ_ch ) 3134 if ( dword_507CC0_activ_ch )
3135 { 3135 {
3136 dword_507CC0_activ_ch = 0; 3136 dword_507CC0_activ_ch = 0;
3137 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = j ) 3137 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = j )
3138 { 3138 {
3139 j=i->pNext; 3139 j = i->pNext;
3140 if ( BYTE1(i->field_1C) & 0x80 ) 3140 if ( BYTE1(i->field_1C) & 0x80 )
3141 { 3141 {
3142 i->Release(); 3142 i->Release();
3143 pAllocator->FreeChunk(i); 3143 pAllocator->FreeChunk(i);
3144 } 3144 }
3145 } 3145 }
3146 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext ) 3146 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext )
3147 { 3147 {
3148 if ( j->msg == UIMSG_InventoryLeftClick) 3148 if ( j->msg == UIMSG_InventoryLeftClick)
3149 { 3149 {