diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-02 03:47:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-02 05:52:11 +0300 |
commit | 93257ccd9617dbc37784076d54c80c915722397d (patch) | |
tree | 66b5bd0b47e55e575f25c1debe95c3eef401c607 /src/net/manaserv/itemhandler.cpp | |
parent | b55fdde5bcc4b995585b757f2b060289477b2148 (diff) | |
download | mv-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.cpp | 6 |
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 { |