SCI: implement ability to handle multilingual menu separators (is actually 2 separators with a language separator inbetween)

svn-id: r48685
This commit is contained in:
Martin Kiewitz 2010-04-17 13:34:16 +00:00
parent f8f50b5219
commit 08ad84d556

View file

@ -184,6 +184,10 @@ void GfxMenu::kernelAddEntry(Common::String title, Common::String content, reg_t
case '-':
case ' ':
separatorCount++;
break;
case '%':
// Some multilingual sci01 games use e.g. '--!%G--!' (which doesn't really make sense)
tempPos = curPos;
}
curPos++;
}