From ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 29 Aug 2006 21:13:23 +0000 Subject: Updated NEWS file and made getAll return a reference instead of a pointer. --- src/gui/minimap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2