residual: improve text object resource handling
|Reported by:||SF/mannythegnome||Owned by:||aquadran|
The attached patch ensures that the resources
associated with a killed text object are destroyed
(i.e. the bitmap) which prevents residual from becoming
a resource hog in the main menu.
I'm not sure whether the delete statement is
appropriate at that place, and I don't know enough CPP
to judge whether the remove statement is superfluous,
i.e. whether the delete statement implies removal from
The patch also removes the TextObjectExists statement
from BlastText(), which IMHO isn't neccessary (the
object will be destroyed right after it was drawn).
Ticket imported from: #1495487. Ticket imported from: patches/642.