FREESCAPE: never render faces with color 0 in driller

This commit is contained in:
neuromancer 2022-11-13 13:06:13 +01:00
parent ade2cc66f9
commit 41233d562d

View File

@ -88,10 +88,7 @@ void DrillerEngine::gotoArea(uint16 areaID, int entranceID) {
debugC(1, kFreescapeDebugMove, "starting player position: %f, %f, %f", _position.x(), _position.y(), _position.z());
playSound(5, false);
// Ignore sky/ground fields
if (_currentArea->getAreaFlags() == 1)
_gfx->_keyColor = 0;
else
_gfx->_keyColor = 255;
_gfx->_keyColor = 0;
if (isAmiga() || isAtariST())
swapPalette(areaID);