diff options
Diffstat (limited to 'sword2/build_display.cpp')
-rw-r--r-- | sword2/build_display.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp index 9a775294ef..794645b9c1 100644 --- a/sword2/build_display.cpp +++ b/sword2/build_display.cpp @@ -761,11 +761,9 @@ int32 Logic::fnChangeShadows(int32 *params) { // if last screen was using a shading mask (see below) if (_vm->_thisScreen.mask_flag) { uint32 rv = _vm->_graphics->closeLightMask(); - if (rv) error("Driver Error %.8x", rv); - - _vm->_thisScreen.mask_flag = 0; + _vm->_thisScreen.mask_flag = false; } return IR_CONT; |