From 5f72488ebaa691214aa14db2ae0cdc02cf8510ca Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 23 Oct 2012 17:09:39 -0200 Subject: [PATCH] Fix issue #121 --- src/otclient/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otclient/game.cpp b/src/otclient/game.cpp index 6bdb59f6..3a11321e 100644 --- a/src/otclient/game.cpp +++ b/src/otclient/game.cpp @@ -710,7 +710,7 @@ void Game::useWith(const ItemPtr& item, const ThingPtr& toThing) if(!pos.isValid()) // virtual item pos = Position(0xFFFF, 0, 0); // means that is a item in inventory - if(toThing->isCreature()) + if(toThing->isCreature() && g_game.getClientVersion() >= 860) m_protocolGame->sendUseOnCreature(pos, item->getId(), item->getStackpos(), toThing->getId()); else m_protocolGame->sendUseItemWith(pos, item->getId(), item->getStackpos(), toThing->getPosition(), toThing->getId(), toThing->getStackpos());