summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 0fc7444ec..d2c0db7b1 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -404,7 +404,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event)
{
if (actorSpriteManager)
{
- std::list<Being*> beings;
+ std::vector<Being*> beings;
const int x = getMouseX() + static_cast<int>(mPixelViewX);
const int y = getMouseY() + static_cast<int>(mPixelViewY);
actorSpriteManager->findBeingsByPixel(beings, x, y, true);