diff options
author | Nicola Mettifogo | 2008-04-06 05:40:02 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-04-06 05:40:02 +0000 |
commit | 3d1a2e2049d599d88dc834a05dd25978f8a0f8f7 (patch) | |
tree | 6178edfb73c2eb93a1f8422b4d197cb0ef54401f /engines/parallaction/parallaction_br.cpp | |
parent | affff7d39509f0b90a5e59d7ba9f5ff93555aadb (diff) | |
download | scummvm-rg350-3d1a2e2049d599d88dc834a05dd25978f8a0f8f7.tar.gz scummvm-rg350-3d1a2e2049d599d88dc834a05dd25978f8a0f8f7.tar.bz2 scummvm-rg350-3d1a2e2049d599d88dc834a05dd25978f8a0f8f7.zip |
Replaced custom ManagedList with Common::SharedPtr.
svn-id: r31415
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 089d38ce81..93174c9d47 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -64,8 +64,6 @@ int Parallaction_br::init() { _soundMan = new DummySoundMan(this); - _activeZone2 = 0; - initResources(); initFonts(); initCursors(); @@ -192,17 +190,17 @@ void Parallaction_br::startPart() { } void Parallaction_br::runPendingZones() { - Zone *z; + ZonePtr z; if (_activeZone) { z = _activeZone; // speak Zone or sound - _activeZone = NULL; + _activeZone = nullZonePtr; // runZone(z); // FIXME: BRA doesn't handle sound yet } if (_activeZone2) { z = _activeZone2; // speak Zone or sound - _activeZone2 = NULL; + _activeZone2 = nullZonePtr; runZone(z); } } |