aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/init.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-08-20 00:34:15 +0300
committerEugene Sandulenko2013-09-06 14:51:16 +0300
commit6ba453fa2a967f6081712efc5cb32c969b54472e (patch)
treeb87bdc9d76857d2d3af298f7e5c9abac952df4ac /engines/fullpipe/init.cpp
parentf0795656929e09e74f85c427cbf506e35eefc44f (diff)
downloadscummvm-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.cpp12
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;