aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/lever_control.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp
index 7d23b68768..45c21efd49 100644
--- a/engines/zvision/lever_control.cpp
+++ b/engines/zvision/lever_control.cpp
@@ -79,9 +79,8 @@ LeverControl::~LeverControl() {
} else if (_fileType == RLF) {
delete _animation.rlf;
}
- if (_frameInfo != 0) {
- delete[] _frameInfo;
- }
+
+ delete[] _frameInfo;
}
void LeverControl::parseLevFile(const Common::String &fileName) {