Fix somebodys silly mistake for box scaling :)

svn-id: r4259
This commit is contained in:
James Brown 2002-05-09 20:04:53 +00:00
parent ebbe5b4ae4
commit dc0fef7cc9

View File

@ -46,7 +46,7 @@ int Scumm::getBoxScale(int box)
if (_features & GF_NO_SCALLING)
return (255);
Box *ptr = getBoxBaseAddr(box);
if (!box)
if (!ptr)
return 255;
return FROM_LE_16(ptr->scale);
}