Initialise _haveScrollButtons, since Valgrind complained about it.

svn-id: r21392
This commit is contained in:
Torbjörn Andersson 2006-03-20 17:33:08 +00:00
parent fce18c2e13
commit c506e452f1

View File

@ -32,6 +32,7 @@
namespace Kyra {
void KyraEngine::initMainButtonList() {
_haveScrollButtons = false;
_buttonList = &_buttonData[0];
for (int i = 0; _buttonDataListPtr[i]; ++i) {
_buttonList = initButton(_buttonList, _buttonDataListPtr[i]);