mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 15:21:40 +00:00
Initialize variable in NS gui code (was crashing a demo). Patch #3089932 by fuzzie.
svn-id: r53701
This commit is contained in:
parent
d6e4c07dac
commit
c67bcddf85
@ -118,6 +118,7 @@ public:
|
||||
ChooseLanguageInputState_NS(Parallaction *vm, MenuInputHelper *helper) : MenuInputState("chooselanguage", helper), _vm(vm) {
|
||||
_allowChoice = false;
|
||||
_nextState = "selectgame";
|
||||
_label = 0;
|
||||
|
||||
_dosLanguageSelectBlocks[0] = Common::Rect( 80, 110, 128, 180 ); // Italian
|
||||
_dosLanguageSelectBlocks[1] = Common::Rect( 129, 85, 177, 155 ); // French
|
||||
@ -147,7 +148,6 @@ public:
|
||||
_blocks = _dosLanguageSelectBlocks;
|
||||
}
|
||||
|
||||
_label = 0;
|
||||
_language = -1;
|
||||
_allowChoice = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user