diff options
author | Sven Hesse | 2007-01-05 18:16:05 +0000 |
---|---|---|
committer | Sven Hesse | 2007-01-05 18:16:05 +0000 |
commit | b30c615165e7885df3e34e71db8d65b45558deb7 (patch) | |
tree | 2bfef762c2f1edc60d090fa04b64a8da29928c86 /engines/gob/scenery.cpp | |
parent | a9f62e75514b051171c88650ccdc02244812e71b (diff) | |
download | scummvm-rg350-b30c615165e7885df3e34e71db8d65b45558deb7.tar.gz scummvm-rg350-b30c615165e7885df3e34e71db8d65b45558deb7.tar.bz2 scummvm-rg350-b30c615165e7885df3e34e71db8d65b45558deb7.zip |
Fixed the loading delay bug I introduced with the playing from CD fix (#1626308)
svn-id: r25006
Diffstat (limited to 'engines/gob/scenery.cpp')
-rw-r--r-- | engines/gob/scenery.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp index 281049edb7..f15c25d30a 100644 --- a/engines/gob/scenery.cpp +++ b/engines/gob/scenery.cpp @@ -32,9 +32,7 @@ #include "gob/draw.h" #include "gob/game.h" #include "gob/global.h" -#include "gob/util.h" #include "gob/parse.h" -#include "gob/cdrom.h" namespace Gob { @@ -393,13 +391,6 @@ int16 Scenery::loadAnim(char search) { uint32 layerPos; extData = 0; - if (_vm->_cdrom->_cdPlaying) { - while (_vm->_cdrom->getTrackPos() != -1) - _vm->_util->longDelay(50); - - _vm->_cdrom->_cdPlaying = false; - } - _vm->_inter->evalExpr(&sceneryIndex); picsCount = _vm->_inter->load16(); resId = _vm->_inter->load16(); |