diff options
author | Strangerke | 2015-12-22 12:04:05 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:35:34 +0100 |
commit | f3db3ba30559dffd16964fdddaa0d680fc31304a (patch) | |
tree | 96a455b1f29041a4eb4d9570b3453f6a1b56cf85 /engines | |
parent | db99a31accd584d31be6e140bb52e592de0165bb (diff) | |
download | scummvm-rg350-f3db3ba30559dffd16964fdddaa0d680fc31304a.tar.gz scummvm-rg350-f3db3ba30559dffd16964fdddaa0d680fc31304a.tar.bz2 scummvm-rg350-f3db3ba30559dffd16964fdddaa0d680fc31304a.zip |
LAB: Remove deletes from mainGameLoop
Those are already handled properly in the engine destructor, as pointed by eriktorbjorn
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/engine.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index ad9cd9ba6c..f16cdabe19 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -544,16 +544,6 @@ void LabEngine::mainGameLoop() { break; } } - - delete _conditions; - delete _roomsFound; - delete[] _rooms; - delete[] _inventory; - - _conditions = nullptr; - _roomsFound = nullptr; - _rooms = nullptr; - _inventory = nullptr; } void LabEngine::showLab2Teaser() { |