From 084ee45650f2f4655e41576207b1073ece121f24 Mon Sep 17 00:00:00 2001 From: Joao Pasqualini Costa Date: Sun, 20 Oct 2013 20:33:44 -0200 Subject: [PATCH] A little mistake --- src/client/protocolgameparse.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index 9415e24b..180ba74a 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -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