mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
A little mistake
This commit is contained in:
@@ -620,10 +620,10 @@ void ProtocolGame::parseOpenContainer(const InputMessagePtr& msg)
|
|||||||
int capacity = msg->getU8();
|
int capacity = msg->getU8();
|
||||||
bool hasParent = (msg->getU8() != 0);
|
bool hasParent = (msg->getU8() != 0);
|
||||||
|
|
||||||
bool isUnlocked;
|
bool isUnlocked = false;
|
||||||
bool hasPages;
|
bool hasPages = false;
|
||||||
int containerSize;
|
int containerSize = 0;
|
||||||
int firstIndex;
|
int firstIndex = 0;
|
||||||
|
|
||||||
if(g_game.getFeature(Otc::GameContainerPagination)) {
|
if(g_game.getFeature(Otc::GameContainerPagination)) {
|
||||||
isUnlocked = (msg->getU8() != 0); // drag and drop
|
isUnlocked = (msg->getU8() != 0); // drag and drop
|
||||||
|
|||||||
Reference in New Issue
Block a user