summaryrefslogtreecommitdiff
path: root/src/net/manaserv/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-02 03:47:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-02 05:52:11 +0300
commit93257ccd9617dbc37784076d54c80c915722397d (patch)
tree66b5bd0b47e55e575f25c1debe95c3eef401c607 /src/net/manaserv/itemhandler.cpp
parentb55fdde5bcc4b995585b757f2b060289477b2148 (diff)
downloadmv-93257ccd9617dbc37784076d54c80c915722397d.tar.gz
mv-93257ccd9617dbc37784076d54c80c915722397d.tar.bz2
mv-93257ccd9617dbc37784076d54c80c915722397d.tar.xz
mv-93257ccd9617dbc37784076d54c80c915722397d.zip
Fix compilation with manaserv.
Diffstat (limited to 'src/net/manaserv/itemhandler.cpp')
-rw-r--r--src/net/manaserv/itemhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/manaserv/itemhandler.cpp b/src/net/manaserv/itemhandler.cpp
index 021d57cf3..8ebe965ec 100644
--- a/src/net/manaserv/itemhandler.cpp
+++ b/src/net/manaserv/itemhandler.cpp
@@ -66,9 +66,9 @@ void ItemHandler::handleMessage(Net::MessageIn &msg)
if (Map *map = game->getCurrentMap())
{
actorSpriteManager->createItem(id, itemId,
- x / map->getTileWidth(),
- y / map->getTileHeight(),
- 0, 1);
+ x / map->getTileWidth(),
+ y / map->getTileHeight(),
+ 0, 1, 0, 0);
}
else
{