diff options
author | Eugene Sandulenko | 2013-08-20 00:34:15 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:16 +0300 |
commit | 6ba453fa2a967f6081712efc5cb32c969b54472e (patch) | |
tree | b87bdc9d76857d2d3af298f7e5c9abac952df4ac /engines/fullpipe/init.cpp | |
parent | f0795656929e09e74f85c427cbf506e35eefc44f (diff) | |
download | scummvm-rg350-6ba453fa2a967f6081712efc5cb32c969b54472e.tar.gz scummvm-rg350-6ba453fa2a967f6081712efc5cb32c969b54472e.tar.bz2 scummvm-rg350-6ba453fa2a967f6081712efc5cb32c969b54472e.zip |
FULLPIPE: Fix number of bugs found by Coverity
Diffstat (limited to 'engines/fullpipe/init.cpp')
-rw-r--r-- | engines/fullpipe/init.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/fullpipe/init.cpp b/engines/fullpipe/init.cpp index f4a62aabb3..c334542247 100644 --- a/engines/fullpipe/init.cpp +++ b/engines/fullpipe/init.cpp @@ -139,18 +139,6 @@ void FullpipeEngine::setLevelStates() { } } -void FullpipeEngine::setSwallowedEggsState() { - CGameVar *v = _gameLoader->_gameVar->getSubVarByName("OBJSTATES")->getSubVarByName(sO_GulpedEggs); - - _swallowedEgg1 = v->getSubVarByName(sO_Egg1); - _swallowedEgg2 = v->getSubVarByName(sO_Egg2); - _swallowedEgg3 = v->getSubVarByName(sO_Egg3); - - _swallowedEgg1->_value.intValue = 0; - _swallowedEgg2->_value.intValue = 0; - _swallowedEgg3->_value.intValue = 0; -} - void FullpipeEngine::addCursor(CursorInfo *cursorInfo, Scene *inv, int pictureId, int hotspotX, int hotspotY, int itemPictureOffsX, int itemPictureOffsY) { cursorInfo->pictureId = pictureId; cursorInfo->picture = inv->getPictureObjectById(pictureId, 0)->_picture; |