diff options
-rw-r--r-- | engines/bladerunner/slice_renderer.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/view.cpp | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/engines/bladerunner/slice_renderer.cpp b/engines/bladerunner/slice_renderer.cpp index 301f329794..cf42f80294 100644 --- a/engines/bladerunner/slice_renderer.cpp +++ b/engines/bladerunner/slice_renderer.cpp @@ -364,8 +364,8 @@ void SliceRenderer::drawFrame(int animationId, int animationFrame, Vector3 posit SliceRendererLights sliceRendererLights = SliceRendererLights(_lights); - _lights->setupFrame(_frame); - _setEffects->setupFrame(_frame); + _lights->setupFrame(_view._frame); + _setEffects->setupFrame(_view._frame); float sliceLine = sliceLineIterator.line(); diff --git a/engines/bladerunner/view.cpp b/engines/bladerunner/view.cpp index 9356f046dd..b01273f34d 100644 --- a/engines/bladerunner/view.cpp +++ b/engines/bladerunner/view.cpp @@ -28,8 +28,7 @@ namespace BladeRunner { bool View::read(Common::ReadStream *stream) { - uint32 frame; - frame = stream->readUint32LE(); + _frame = stream->readUint32LE(); float d[12]; for (int i = 0; i != 12; ++i) |