diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-29 21:13:23 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-29 21:13:23 +0000 |
commit | ed6e43cbbe1e9a93fb58eccbbec1d377f094d73e (patch) | |
tree | 292a6d7176f09453f6aaf5077a8570328ba7acea /src/beingmanager.cpp | |
parent | 91705f88735b8efdbf263a22ef02c1b87c964b5b (diff) | |
download | mana-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/beingmanager.cpp')
-rw-r--r-- | src/beingmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp index 10123d06..25edeb24 100644 --- a/src/beingmanager.cpp +++ b/src/beingmanager.cpp @@ -119,9 +119,9 @@ Being* BeingManager::findBeing(Uint16 x, Uint16 y, Being::Type type) return (i == mBeings.end()) ? NULL : *i; } -Beings* BeingManager::getAll() +Beings& BeingManager::getAll() { - return &mBeings; + return mBeings; } void BeingManager::logic() |