From 2d8b9246c8003f1d32ba396bc19cc11bc5a595b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Aug 2017 21:24:46 +0300 Subject: Remove useless check. --- src/being/actorsprite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index 7f15e4e78..6c2c99a40 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -575,8 +575,7 @@ void ActorSprite::cleanupTargetCursors() { for_each_cursors() { - if (targetCursor[type][size] != nullptr) - delete2(targetCursor[type][size]) + delete2(targetCursor[type][size]) } end_foreach } -- cgit v1.2.3-70-g09d2