diff options
author | Torbjörn Andersson | 2006-09-09 09:50:00 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-09-09 09:50:00 +0000 |
commit | 3ce0b182f6753556cb01ab0fe84b355f6d9c5f9e (patch) | |
tree | 39239e1078d33b04a03e3b6e58adfe32640658af | |
parent | 7efd027fed890a06830263e16fe943205bb186fc (diff) | |
download | scummvm-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.cpp | 1 |
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) { |