mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
NEVERHOOD: Remove superfluous check
This commit is contained in:
parent
f2d0f76939
commit
9e0c843c9f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user