NEVERHOOD: Remove superfluous check

This commit is contained in:
Filippos Karapetis 2013-06-09 17:11:24 +03:00
parent f2d0f76939
commit 9e0c843c9f

View File

@ -441,8 +441,7 @@ void GameModule::createModule(int moduleNum, int which) {
debug("GameModule::createModule(%d, %d)", moduleNum, which); debug("GameModule::createModule(%d, %d)", moduleNum, which);
_moduleNum = moduleNum; _moduleNum = moduleNum;
if (_childObject) delete _childObject;
delete _childObject;
switch (_moduleNum) { switch (_moduleNum) {
case 1000: case 1000: