summaryrefslogtreecommitdiff
path: root/src/net/ea/itemhandler.cpp
diff options
context:
space:
mode:
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);
}
}
}