o8_getStringWidth also pops on param
svn-id: r6201
This commit is contained in:
parent
fc04f73471
commit
a236ff9689
1 changed files with 1 additions and 0 deletions
|
@ -1517,6 +1517,7 @@ void Scumm_v8::o8_getObjectImageHeight()
|
|||
|
||||
void Scumm_v8::o8_getStringWidth()
|
||||
{
|
||||
int a = pop(); // What is this? The first param for getStringWidth()? Or a charset id?
|
||||
int len = resStrLen((char*)_scriptPointer);
|
||||
int width = _charset->getStringWidth(0, _scriptPointer);
|
||||
push(width);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue