aboutsummaryrefslogtreecommitdiff
path: root/gob/scenery.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-13 18:27:29 +0000
committerEugene Sandulenko2005-04-13 18:27:29 +0000
commita5993b21129b133bdbd570a3f540caf44c0c3958 (patch)
tree79acaeabc945f4d2bdce65a7601de894a354ea28 /gob/scenery.cpp
parentc60678ed86b4c5bc1fb07dde269b9d853db1300c (diff)
downloadscummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.tar.gz
scummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.tar.bz2
scummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.zip
Support for Red Book audio in CD version of gob1.
svn-id: r17588
Diffstat (limited to 'gob/scenery.cpp')
-rw-r--r--gob/scenery.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gob/scenery.cpp b/gob/scenery.cpp
index ac3d9a50d6..2de9587cf8 100644
--- a/gob/scenery.cpp
+++ b/gob/scenery.cpp
@@ -29,6 +29,7 @@
#include "gob/util.h"
#include "gob/anim.h"
#include "gob/parse.h"
+#include "gob/cdrom.h"
namespace Gob {
@@ -383,6 +384,12 @@ int16 scen_loadAnim(char search) {
int16 sprResId;
int16 sprIndex;
+ if (cd_globFlag) {
+ while (cd_getTrackPos() != -1);
+
+ cd_globFlag = false;
+ }
+
inter_evalExpr(&sceneryIndex);
picsCount = inter_load16();
resId = inter_load16();