aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/vga13h.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r--engines/cge2/vga13h.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index a181621008..3ce690ed6a 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -761,20 +761,6 @@ void Sprite::sync(Common::Serializer &s) {
Queue::Queue(bool show) : _head(NULL), _tail(NULL) {
}
-Queue::~Queue() {
- clear();
-}
-
-void Queue::clear() {
- while (_head) {
- Sprite *s = remove(_head);
- if (s->_flags._kill) {
- delete s;
- s = nullptr;
- }
- }
-}
-
void Queue::append(Sprite *spr) {
if (spr->_flags._back)
spr->backShow();