aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/general.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/general.h')
-rw-r--r--engines/cge/general.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h
index 6fb8e24f9c..4946e40c7b 100644
--- a/engines/cge/general.h
+++ b/engines/cge/general.h
@@ -173,6 +173,7 @@ public:
virtual long Mark(void) = 0;
virtual long Size(void) = 0;
virtual long Seek(long pos) = 0;
+ virtual ~XFILE() { }
};
@@ -184,7 +185,7 @@ inline uint16 XRead(XFILE *xf, T *t) {
class IOHAND : public XFILE {
protected:
- Common::File _file;
+ Common::File *_file;
uint16 Seed;
CRYPT *Crypt;
public: