summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingmanager.cpp')
-rw-r--r--src/beingmanager.cpp4
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()