summaryrefslogtreecommitdiff
path: root/src/net/ea/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 16:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 16:30:24 +0300
commit6c3974a46c659e558b2b5f249b7b000a5b39fe25 (patch)
tree6ba5ad594cc0691821f879efff413c562f7cc552 /src/net/ea/itemhandler.cpp
parent4f77307d659c4048c20eacda1d5b13fcce8d60da (diff)
downloadManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.gz
ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.bz2
ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.xz
ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.zip
Rename actorspritemanager into actormanager.
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-rw-r--r--src/net/ea/itemhandler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp
index 9c9a74b2d..ccc8c92cd 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -22,7 +22,7 @@
#include "net/ea/itemhandler.h"
-#include "actorspritemanager.h"
+#include "actormanager.h"
#include "debug.h"
@@ -48,9 +48,9 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg) const
const int subX = msg.readInt8();
const int subY = msg.readInt8();
- if (actorSpriteManager)
+ if (actorManager)
{
- actorSpriteManager->createItem(id, itemId,
+ actorManager->createItem(id, itemId,
x, y, amount, identify, subX, subY);
}
}
@@ -66,21 +66,21 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg) const
const int subY = msg.readInt8();
const int amount = msg.readInt16();
- if (actorSpriteManager)
+ if (actorManager)
{
- actorSpriteManager->createItem(id, itemId,
+ actorManager->createItem(id, itemId,
x, y, amount, identify, subX, subY);
}
}
void ItemHandler::processItemRemove(Net::MessageIn &msg) const
{
- if (actorSpriteManager)
+ if (actorManager)
{
- if (FloorItem *const item = actorSpriteManager
+ if (FloorItem *const item = actorManager
->findItem(msg.readInt32()))
{
- actorSpriteManager->destroy(item);
+ actorManager->destroy(item);
}
}
}