diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-21 21:24:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-21 21:24:46 +0300 |
commit | 2d8b9246c8003f1d32ba396bc19cc11bc5a595b2 (patch) | |
tree | 034d9370b6a8c3081b7107c7b44fe914df7f5eab /src/being | |
parent | 860728a6949cb06191c3f3fee8df091768e7f154 (diff) | |
download | plus-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.gz plus-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.bz2 plus-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.tar.xz plus-2d8b9246c8003f1d32ba396bc19cc11bc5a595b2.zip |
Remove useless check.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.cpp | 3 |
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 } |