aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource.h b/engines/kyra/resource.h
index 7492688cf0..b7d9b3f5bc 100644
--- a/engines/kyra/resource.h
+++ b/engines/kyra/resource.h
@@ -44,7 +44,7 @@ public:
uint filename() const { return _filename; }
- virtual bool isValid(void) const { return _filename; }
+ virtual bool isValid(void) const { return (_filename != 0); }
bool isOpen(void) const { return _open; }
virtual void close() { _open = false; }