Temporary destructor patch until Steve can release next version of PUI.

next
curt 26 years ago
parent 18ac42b2e4
commit af80c5e018

@ -253,10 +253,15 @@ void puInterface::doHit ( int, int, int, int )
puInterface::~puInterface ()
{
puPopLiveInterface () ;
puPopLiveInterface () ;
for ( puObject *bo = dlist ; bo != NULL ; bo = bo->next )
delete bo ;
puObject *bo = dlist ;
while ( bo != NULL ) {
puObject *tmp_bo = bo->next ;
delete bo ;
bo = tmp_bo ;
}
}

Loading…
Cancel
Save