summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-09-02 11:58:35 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-09-02 11:58:35 +0000
commit2b322bf18d80acb464a9dc1820e581e7204cca1e (patch)
tree6938f1d8f63c8d8c1142b972117b42d2c50d1883 /src/beingmanager.cpp
parentda43e09d2b043d5c75ad0adb87dd43f1fe36fe8f (diff)
downloadmana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.gz
mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.bz2
mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.xz
mana-2b322bf18d80acb464a9dc1820e581e7204cca1e.zip
Switched to short IDs for beings.
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 0156ce33..d2db055a 100644
--- a/src/beingmanager.cpp
+++ b/src/beingmanager.cpp
@@ -62,7 +62,7 @@ void BeingManager::setPlayer(LocalPlayer *player)
mBeings.push_back(player);
}
-Being* BeingManager::createBeing(Uint32 id, Uint16 job)
+Being* BeingManager::createBeing(Uint16 id, Uint16 job)
{
Being *being;
@@ -90,7 +90,7 @@ void BeingManager::destroyBeing(Being *being)
delete being;
}
-Being* BeingManager::findBeing(Uint32 id)
+Being* BeingManager::findBeing(Uint16 id)
{
for (BeingIterator i = mBeings.begin(); i != mBeings.end(); i++)
{