Mercurial > mm7
comparison UI/UICharacter.cpp @ 1482:cfd99b6177a3
m
author | Ritor1 |
---|---|
date | Thu, 29 Aug 2013 12:04:33 +0600 |
parents | bfe342ae0c1f |
children | 223605b325b3 |
comparison
equal
deleted
inserted
replaced
1455:bfe342ae0c1f | 1482:cfd99b6177a3 |
---|---|
2905 if ( dword_507CC0_activ_ch ) | 2905 if ( dword_507CC0_activ_ch ) |
2906 { | 2906 { |
2907 dword_507CC0_activ_ch = 0; | 2907 dword_507CC0_activ_ch = 0; |
2908 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = j ) | 2908 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = j ) |
2909 { | 2909 { |
2910 j=i->pNext; | 2910 j = i->pNext; |
2911 if ( BYTE1(i->field_1C) & 0x80 ) | 2911 if ( BYTE1(i->field_1C) & 0x80 ) |
2912 { | 2912 { |
2913 i->Release(); | 2913 i->Release(); |
2914 pAllocator->FreeChunk(i); | 2914 pAllocator->FreeChunk(i); |
2915 } | 2915 } |
2916 } | 2916 } |
2917 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext ) | 2917 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext ) |
2918 { | 2918 { |
2919 if ( j->msg == UIMSG_InventoryLeftClick) | 2919 if ( j->msg == UIMSG_InventoryLeftClick) |
2920 { | 2920 { |