aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/messages.h')
-rw-r--r--engines/mads/messages.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/mads/messages.h b/engines/mads/messages.h
index 6967755cdd..1357b98d03 100644
--- a/engines/mads/messages.h
+++ b/engines/mads/messages.h
@@ -105,10 +105,9 @@ public:
#define TEXT_DISPLAY_SIZE 40
-class TextDisplayList {
+class TextDisplayList: public Common::Array<TextDisplay> {
private:
MADSEngine *_vm;
- Common::Array<TextDisplay> _entries;
/**
* Determine dirty areas for active text areas
@@ -118,13 +117,6 @@ public:
TextDisplayList(MADSEngine *vm);
/**
- * Item operator
- */
- TextDisplay &operator[](int idx) {
- return _entries[idx];
- }
-
- /**
* Expire a given text display entry
*/
void expire(int idx);