summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-29 21:13:23 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-29 21:13:23 +0000
commited6e43cbbe1e9a93fb58eccbbec1d377f094d73e (patch)
tree292a6d7176f09453f6aaf5077a8570328ba7acea /src/gui/minimap.cpp
parent91705f88735b8efdbf263a22ef02c1b87c964b5b (diff)
downloadmana-ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e.tar.gz
mana-ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e.tar.bz2
mana-ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e.tar.xz
mana-ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e.zip
Updated NEWS file and made getAll return a reference instead of a pointer.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index db6d4f15..69c5eb6e 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -76,10 +76,10 @@ void Minimap::draw(gcn::Graphics *graphics)
mMapImage, getPadding(), getTitleBarHeight());
}
- Beings *beings = beingManager->getAll();
+ Beings &beings = beingManager->getAll();
BeingIterator bi;
- for (bi = beings->begin(); bi != beings->end(); bi++)
+ for (bi = beings.begin(); bi != beings.end(); bi++)
{
Being *being = (*bi);
int dotSize = 1;