diff options
-rw-r--r-- | src/actorspritemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 2ee80d03..31b6d8f0 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -180,7 +180,7 @@ Being *ActorSpriteManager::findBeingByPixel(int x, int y) const const int halfTileHeight = map->getTileHeight() / 2; Being *closest = 0; - int closestDist; + int closestDist = 0; for_actors { |