aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-09-09 09:50:00 +0000
committerTorbjörn Andersson2006-09-09 09:50:00 +0000
commit3ce0b182f6753556cb01ab0fe84b355f6d9c5f9e (patch)
tree39239e1078d33b04a03e3b6e58adfe32640658af
parent7efd027fed890a06830263e16fe943205bb186fc (diff)
downloadscummvm-rg350-3ce0b182f6753556cb01ab0fe84b355f6d9c5f9e.tar.gz
scummvm-rg350-3ce0b182f6753556cb01ab0fe84b355f6d9c5f9e.tar.bz2
scummvm-rg350-3ce0b182f6753556cb01ab0fe84b355f6d9c5f9e.zip
Initialise variable. Should fix Valgrind warning.
svn-id: r23838
-rw-r--r--engines/sword1/control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index b8d89ab3d2..47a1822012 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -173,6 +173,7 @@ Control::Control(Common::SaveFileManager *saveFileMan, ResMan *pResMan, ObjectMa
_lStrings = _languageStrings + SwordEngine::_systemVars.language * 20;
_keyRepeat = 0;
_keyRepeatTime = 0;
+ _selectedButton = 255;
}
void Control::askForCd(void) {