diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-02 11:58:35 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-02 11:58:35 +0000 |
commit | 2b322bf18d80acb464a9dc1820e581e7204cca1e (patch) | |
tree | 6938f1d8f63c8d8c1142b972117b42d2c50d1883 /src/beingmanager.cpp | |
parent | da43e09d2b043d5c75ad0adb87dd43f1fe36fe8f (diff) | |
download | mana-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.cpp | 4 |
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++) { |