Merge pull request #452 from conde2/master

Temporary fix for async
This commit is contained in:
Sam
2014-01-24 10:26:28 -08:00
2 changed files with 5 additions and 3 deletions

View File

@@ -2008,7 +2008,9 @@ ItemPtr ProtocolGame::getItem(const InputMessagePtr& msg, int id)
if(item->getAnimationPhases() > 1) {
// 0xfe => random phase
// 0xff => async?
item->setAsync(msg->getU8() == 0xff);
msg->getU8();
// Remove async since OTB file in server is configured so every item with animationPhase > 1 is a random phase item.
//item->setAsync(msg->getU8() == 0xff);
}
}