summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-09-15 17:24:24 +0000
committerIra Rice <irarice@gmail.com>2008-09-15 17:24:24 +0000
commit176e885ef6c5ae34c8c31c693b65e5a246146f3a (patch)
treea518013432ebd4f8e70a1240fe4c6931b3c7c459 /src/beingmanager.cpp
parent175a930a09c657525e67a1faccd1f9569ec4d28f (diff)
downloadmana-176e885ef6c5ae34c8c31c693b65e5a246146f3a.tar.gz
mana-176e885ef6c5ae34c8c31c693b65e5a246146f3a.tar.bz2
mana-176e885ef6c5ae34c8c31c693b65e5a246146f3a.tar.xz
mana-176e885ef6c5ae34c8c31c693b65e5a246146f3a.zip
Commented out getBeingByPixel because it really isn't used, nor is there
much sense to. Shouldn't make any visible changes to performance yet, but I trimmed it out for now anyways.
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 d1a333d0..47729a92 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -124,7 +124,7 @@ Being* BeingManager::findBeing(Uint16 x, Uint16 y, Being::Type type)
return (i == mBeings.end()) ? NULL : *i;
}
-Being* BeingManager::findBeingByPixel(Uint16 x, Uint16 y)
+/*Being* BeingManager::findBeingByPixel(Uint16 x, Uint16 y)
{
BeingIterator itr = mBeings.begin();
BeingIterator itr_end = mBeings.end();
@@ -144,7 +144,7 @@ Being* BeingManager::findBeingByPixel(Uint16 x, Uint16 y)
}
return NULL;
-}
+}*/
Being* BeingManager::findBeingByName(std::string name, Being::Type type)
{