aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-09-04 19:31:52 +0200
committerThierry Crozat2018-01-23 02:15:31 +0000
commitba7729a7674e5c363f221b7529fe970d43a648cc (patch)
treebbe0e60455756c27693e074937c1905cdef3dc49
parent945dc9f46fd1744653d88955a2bcbd2f48ca7827 (diff)
downloadscummvm-rg350-ba7729a7674e5c363f221b7529fe970d43a648cc.tar.gz
scummvm-rg350-ba7729a7674e5c363f221b7529fe970d43a648cc.tar.bz2
scummvm-rg350-ba7729a7674e5c363f221b7529fe970d43a648cc.zip
SUPERNOVA: Restores brightness if power on
-rw-r--r--engines/supernova/state.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index b562ead082..3df96f2db2 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -949,6 +949,8 @@ void GameManager::roomBrightness() {
if ((_currentRoom->getId() != OUTSIDE) && (_currentRoom->getId() < ROCKS) ) {
if (_state._powerOff)
_vm->_brightness = 153;
+ else
+ _vm->_brightness = 255;
} else if ((_currentRoom->getId() == CAVE)) {
_vm->_brightness = 0;
} else if ((_currentRoom->getId() == GUARD3)) {