aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/actor.cpp')
-rw-r--r--engines/m4/actor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/m4/actor.cpp b/engines/m4/actor.cpp
index bfb4a14615..82f7361cca 100644
--- a/engines/m4/actor.cpp
+++ b/engines/m4/actor.cpp
@@ -95,8 +95,7 @@ void Actor::unloadWalkers() {
continue; // walker sprite 6 is unused
SpriteAsset *tempSprite = _walkerSprites[i];
_walkerSprites.remove_at(i);
- if (tempSprite)
- delete tempSprite;
+ delete tempSprite;
}
}