Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe they should be turned into dynamic data structures...

svn-id: r35944
This commit is contained in:
Nicola Mettifogo 2009-01-20 10:39:16 +00:00
parent 577c8ff27d
commit 3e611e1eb7
2 changed files with 3 additions and 3 deletions

View file

@ -158,8 +158,8 @@ typedef Common::SharedPtr<Command> CommandPtr;
typedef Common::List<CommandPtr> CommandList;
#define NUM_QUESTIONS 20
#define NUM_ANSWERS 10
#define NUM_QUESTIONS 40
#define NUM_ANSWERS 20
struct Answer {
Common::String _text;

View file

@ -813,7 +813,7 @@ Dialogue *LocationParser_ns::parseDialogue() {
Dialogue *dialogue = new Dialogue;
assert(dialogue);
Table forwards(20);
Table forwards(40);
_script->readLineToken(true);