aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/rooms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h
index 590e905f0f..aacec82b5a 100644
--- a/engines/supernova/rooms.h
+++ b/engines/supernova/rooms.h
@@ -26,6 +26,10 @@ public:
int getFileNumber() const {
return _fileNumber;
}
+
+ void setSectionVisible(size_t section, bool visible) {
+ _shown[section] = visible;
+ }
bool isSectionVisible(size_t index) const {
return _shown[index];
}