mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
Remove translation code from verbage
svn-id: r6255
This commit is contained in:
parent
c9a6b40607
commit
b8ef222a8d
@ -157,6 +157,20 @@ void Scumm::drawVerb(int verb, int mode)
|
||||
return;
|
||||
assert(_messagePtr);
|
||||
|
||||
if ((_features & GF_AFTER_V8) && (_messagePtr[0] == '/')) {
|
||||
char pointer[20];
|
||||
int i, j;
|
||||
|
||||
translateText(_messagePtr, _transText);
|
||||
|
||||
for (i = 0, j = 0; (_messagePtr[i] != '/' || j == 0) && j < 19; i++) {
|
||||
if (_messagePtr[i] != '/')
|
||||
pointer[j++] = _messagePtr[i];
|
||||
}
|
||||
pointer[j] = 0;
|
||||
_messagePtr = _transText;
|
||||
}
|
||||
|
||||
tmp = _charset->_center;
|
||||
_charset->_center = 0;
|
||||
drawString(4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user