From 3f3f14b08e2b55ecc916068c3ba95e028acbf0dc Mon Sep 17 00:00:00 2001
From: Alyssa Milburn <fuzzie@fuzzie.org>
Date: Sun, 17 Oct 2010 22:04:12 +0200
Subject: [PATCH 1/2] PARALLACTION: fix crash for amiga non-multilingual versions of NS
A variable wasn't being initialised in the case used for these versions.
---
engines/parallaction/gui_ns.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/engines/parallaction/gui_ns.cpp b/engines/parallaction/gui_ns.cpp
index 9f50236..51d3ba5 100644
a
|
b
|
public:
|
118 | 118 | ChooseLanguageInputState_NS(Parallaction *vm, MenuInputHelper *helper) : MenuInputState("chooselanguage", helper), _vm(vm) { |
119 | 119 | _allowChoice = false; |
120 | 120 | _nextState = "selectgame"; |
| 121 | _label = 0; |
121 | 122 | |
122 | 123 | _dosLanguageSelectBlocks[0] = Common::Rect( 80, 110, 128, 180 ); // Italian |
123 | 124 | _dosLanguageSelectBlocks[1] = Common::Rect( 129, 85, 177, 155 ); // French |
… |
… |
public:
|
147 | 148 | _blocks = _dosLanguageSelectBlocks; |
148 | 149 | } |
149 | 150 | |
150 | | _label = 0; |
151 | 151 | _language = -1; |
152 | 152 | _allowChoice = true; |
153 | 153 | } |