aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-09-04 19:44:41 +0200
committerThierry Crozat2018-01-23 02:15:31 +0000
commitaef0e122c7082a4811675146e33fff4e02e08ee7 (patch)
tree68cc037d4f3b3a399da98a4a1d5a88c747491dd9
parente45d94b0653e58cfe597794dbdd9954beeca0cbb (diff)
downloadscummvm-rg350-aef0e122c7082a4811675146e33fff4e02e08ee7.tar.gz
scummvm-rg350-aef0e122c7082a4811675146e33fff4e02e08ee7.tar.bz2
scummvm-rg350-aef0e122c7082a4811675146e33fff4e02e08ee7.zip
SUPERNOVA: Restores brightness when leaving the cave
-rw-r--r--engines/supernova/state.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 57a0edf340..06d1c76b77 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -951,9 +951,11 @@ void GameManager::roomBrightness() {
_vm->_brightness = 153;
else
_vm->_brightness = 255;
- } else if ((_currentRoom->getId() == CAVE)) {
+ } else if (_currentRoom->getId() == CAVE) {
_vm->_brightness = 0;
- } else if ((_currentRoom->getId() == GUARD3)) {
+ } else if (_currentRoom->getId() == MEETUP) {
+ _vm->_brightness = 255;
+ } else if (_currentRoom->getId() == GUARD3) {
if (_state._powerOff)
_vm->_brightness = 0;
}