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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue