src/game/Utils/MercTextBox.cc
void RemoveMercPopupBox(MercPopUpBox* const box)
{
	if (!box) return;

	DeleteVideoSurface(box->uiSourceBufferIndex);

	//DEF Added 5/26
	//Delete the background and the border
	RemoveTextMercPopupImages(box);

	delete box;
}
//Deletes the surface thats contains the border, background and the text.
Deletes the surface thats contains the border, background and the text.
Deletes the surface thats contains the border background and the text .
void RemoveMercPopupBox(MercPopUpBox* const box)
{
	if (!box) return;
	DeleteVideoSurface(box->uiSourceBufferIndex);
	RemoveTextMercPopupImages(box);
	delete box;
}
void RemoveMercPopupBox ( MercPopUpBox * const box ) { if ( ! box ) return ; DeleteVideoSurface ( box -> uiSourceBufferIndex ) ; RemoveTextMercPopupImages ( box ) ; delete box ; }
Deletes the surface thats contains the border, background and the text.
Deletes the surface thats contains the border background and the text .
//DEF Added 5/26 //Delete the background and the border