comparison mm7_1.cpp @ 697:2dfb67633b01

GUIButton Release Allocator BigMemory fix?
author zipi
date Sun, 17 Mar 2013 14:25:00 +0000
parents e0a1fccc89b1
children efde64b3e147
comparison
equal deleted inserted replaced
696:4e1b2a24a6e3 697:2dfb67633b01
85 { 85 {
86 dword_507CC0 = 0; 86 dword_507CC0 = 0;
87 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = i->pNext ) 87 for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = i->pNext )
88 { 88 {
89 if ( BYTE1(i->field_1C) & 0x80 ) 89 if ( BYTE1(i->field_1C) & 0x80 )
90 GUIButton::_41D0D8(i); 90 i->Release();
91 } 91 }
92 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext ) 92 for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext )
93 { 93 {
94 if ( j->uControlID == 120 ) 94 if ( j->uControlID == 120 )
95 { 95 {