diff options
author | Filippos Karapetis | 2013-06-09 17:11:24 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-09 17:11:24 +0300 |
commit | 9e0c843c9f41239a878e8d2772c27507196428b6 (patch) | |
tree | f478e8b43ffd7f1ae9346906b6ae7a69f1284297 | |
parent | f2d0f76939f713bfe4317798665e1ba004f122f3 (diff) | |
download | scummvm-rg350-9e0c843c9f41239a878e8d2772c27507196428b6.tar.gz scummvm-rg350-9e0c843c9f41239a878e8d2772c27507196428b6.tar.bz2 scummvm-rg350-9e0c843c9f41239a878e8d2772c27507196428b6.zip |
NEVERHOOD: Remove superfluous check
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index db4d0ef374..e63109adee 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -441,8 +441,7 @@ void GameModule::createModule(int moduleNum, int which) { debug("GameModule::createModule(%d, %d)", moduleNum, which); _moduleNum = moduleNum; - if (_childObject) - delete _childObject; + delete _childObject; switch (_moduleNum) { case 1000: |