Temporary fix for async

This should be fixed in server side, until that we just don't need to
use.
This commit is contained in:
conde2
2014-01-24 00:19:08 -02:00
parent 79be0eca73
commit 9da018fdff
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);
}
}