mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 19:32:11 +00:00
GOB: fix in oPlaytoons_printText
This commit is contained in:
parent
da7439b3f3
commit
d1793fb833
@ -97,7 +97,6 @@ void Inter_Playtoons::setupOpcodesGob() {
|
||||
|
||||
void Inter_Playtoons::oPlaytoons_printText(OpFuncParams ¶ms) {
|
||||
char buf[60];
|
||||
int i;
|
||||
int16 oldTransparency;
|
||||
|
||||
_vm->_draw->_destSpriteX = _vm->_game->_script->readValExpr();
|
||||
@ -123,8 +122,9 @@ void Inter_Playtoons::oPlaytoons_printText(OpFuncParams ¶ms) {
|
||||
// _vm->_draw->_frontColor += colMod;
|
||||
|
||||
oldTransparency = _vm->_draw->_transparency;
|
||||
int i = 0;
|
||||
do {
|
||||
for (i = 0; (_vm->_game->_script->peekChar() != '.') &&
|
||||
for (; (_vm->_game->_script->peekChar() != '.') &&
|
||||
(_vm->_game->_script->peekByte() != 200); i++) {
|
||||
buf[i] = _vm->_game->_script->readChar();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user