summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-21 21:24:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-21 21:24:46 +0300
commit2d8b9246c8003f1d32ba396bc19cc11bc5a595b2 (patch)
tree034d9370b6a8c3081b7107c7b44fe914df7f5eab /src
parent860728a6949cb06191c3f3fee8df091768e7f154 (diff)
downloadmv-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.gz
mv-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.bz2
mv-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.xz
mv-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.zip
Remove useless check.
Diffstat (limited to 'src')
-rw-r--r--src/being/actorsprite.cpp3
1 files changed, 1 insertions, 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
}