A little mistake

This commit is contained in:
Joao Pasqualini Costa 2013-10-20 20:33:44 -02:00
parent 7290ec3334
commit 084ee45650
1 changed files with 4 additions and 4 deletions

View File

@ -620,10 +620,10 @@ void ProtocolGame::parseOpenContainer(const InputMessagePtr& msg)
int capacity = msg->getU8();
bool hasParent = (msg->getU8() != 0);
bool isUnlocked;
bool hasPages;
int containerSize;
int firstIndex;
bool isUnlocked = false;
bool hasPages = false;
int containerSize = 0;
int firstIndex = 0;
if(g_game.getFeature(Otc::GameContainerPagination)) {
isUnlocked = (msg->getU8() != 0); // drag and drop