aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/scicore/decompressor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/scicore/decompressor.h b/engines/sci/scicore/decompressor.h
index 3f8bd147c3..b2a6831a9b 100644
--- a/engines/sci/scicore/decompressor.h
+++ b/engines/sci/scicore/decompressor.h
@@ -47,7 +47,7 @@ enum ResourceCompression {
class Decompressor {
public:
Decompressor(){}
- ~Decompressor(){}
+ virtual ~Decompressor(){}
//! get a number of bits from _src stream
/** @param n - number of bits to get
@@ -176,4 +176,5 @@ protected:
} // End of namespace Sci
-#endif // SCI_SCICORE_DECOMPRESSOR_H \ No newline at end of file
+#endif // SCI_SCICORE_DECOMPRESSOR_H
+