aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-25 09:21:19 -0500
committerPaul Gilbert2014-02-25 09:21:19 -0500
commitc9057bd6a8ee2b039e2ba528b1e2e59814b8ef88 (patch)
treea97576327830fb6b3f9183801ef98a98a8e6eac5 /engines/mads/nebular
parentcc16e42f2029955e066450d63bfb666b9ab47109 (diff)
downloadscummvm-rg350-c9057bd6a8ee2b039e2ba528b1e2e59814b8ef88.tar.gz
scummvm-rg350-c9057bd6a8ee2b039e2ba528b1e2e59814b8ef88.tar.bz2
scummvm-rg350-c9057bd6a8ee2b039e2ba528b1e2e59814b8ef88.zip
MADS: Moved scene data classes into their own code file
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/game_nebular.cpp5
-rw-r--r--engines/mads/nebular/game_nebular.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp
index 6e2b77d477..34fe0c7d19 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -155,7 +155,7 @@ void GameNebular::initialiseGlobals() {
void GameNebular::setSectionHandler() {
delete _sectionHandler;
- switch (_scene._sectionNum) {
+ switch (_sectionNumber) {
case 1:
_sectionHandler = new Section1Handler(_vm);
break;
@@ -177,6 +177,9 @@ void GameNebular::setSectionHandler() {
case 7:
_sectionHandler = new Section7Handler(_vm);
break;
+ case 8:
+ _sectionHandler = new Section8Handler(_vm);
+ break;
default:
break;
}
diff --git a/engines/mads/nebular/game_nebular.h b/engines/mads/nebular/game_nebular.h
index 9232b26969..6395ba0e4e 100644
--- a/engines/mads/nebular/game_nebular.h
+++ b/engines/mads/nebular/game_nebular.h
@@ -60,7 +60,7 @@ typedef Section1Handler Section4Handler;
typedef Section1Handler Section5Handler;
typedef Section1Handler Section6Handler;
typedef Section1Handler Section7Handler;
-
+typedef Section1Handler Section8Handler;
} // End of namespace Nebular