aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/file.cpp')
-rw-r--r--engines/pink/file.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/pink/file.cpp b/engines/pink/file.cpp
index 4f2867b10c..8db4542615 100644
--- a/engines/pink/file.cpp
+++ b/engines/pink/file.cpp
@@ -53,8 +53,7 @@ bool OrbFile::open(const Common::String &name) {
return false;
}
- _timestamp = readUint32LE();
- if (!_timestamp){
+ if (!(_timestamp = readUint32LE())){
return false;
}