mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
Check if VAR_WIZ_TCOLOR is set, before using it.
BMAP images are only used in HE71+. svn-id: r15580
This commit is contained in:
parent
4667a12c9d
commit
eaa65d57dd
@ -631,6 +631,11 @@ void ScummEngine::redrawBGAreas() {
|
||||
}
|
||||
|
||||
void ScummEngine_v70he::redrawBGAreas() {
|
||||
if (_heversion == 70) {
|
||||
ScummEngine::redrawBGAreas();
|
||||
return;
|
||||
}
|
||||
|
||||
int val = 0;
|
||||
if (camera._cur.x != camera._last.x && _charset->_hasMask)
|
||||
stopTalk();
|
||||
|
@ -925,7 +925,7 @@ void ScummEngine_v72he::captureWizImage(int resType, int resNum, const Common::R
|
||||
|
||||
int w = rCapt.width();
|
||||
int h = rCapt.height();
|
||||
int tColor = VAR(VAR_WIZ_TCOLOR);
|
||||
int tColor = (VAR_WIZ_TCOLOR != 0xFF) ? VAR(VAR_WIZ_TCOLOR) : 5;
|
||||
|
||||
// compute compressed size
|
||||
int dataSize = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user