diff options
| author | Eugene Sandulenko | 2013-07-31 20:21:02 +0300 | 
|---|---|---|
| committer | Eugene Sandulenko | 2013-09-06 14:51:09 +0300 | 
| commit | 633a0fcd86e47b16d77be32a822f3e57120b9796 (patch) | |
| tree | 19257503a88807c9d14a1e9cfbe72f5e75bd0d22 | |
| parent | 6e64897e725e06fe00a39629fdfd7dec35a9574f (diff) | |
| download | scummvm-rg350-633a0fcd86e47b16d77be32a822f3e57120b9796.tar.gz scummvm-rg350-633a0fcd86e47b16d77be32a822f3e57120b9796.tar.bz2 scummvm-rg350-633a0fcd86e47b16d77be32a822f3e57120b9796.zip | |
FULLPIPE: Fix scene loading
| -rw-r--r-- | engines/fullpipe/gameloader.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index c627550275..7ae591911b 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -135,7 +135,7 @@ bool CGameLoader::loadScene(int sceneId) {  	if (idx < 0)  		return false; -	if (st->_scene) +	if (!st->_scene)  		st->loadScene();  	if (st->_scene) { @@ -184,7 +184,7 @@ bool CGameLoader::gotoScene(int sceneId, int entranceId) {  		sg->setSubVarAsInt("Entrance", entranceId);  	if (!g_fullpipe->sceneSwitcher(_sc2array[sc2idx]._entranceData[entranceIdx])) -		return 0; +		return false;  	g_fullpipe->_msgObjectId2 = 0;  	g_fullpipe->_msgY = -1; | 
