Skip to content

Commit

Permalink
BLADERUNNER: fixed current frame selection for lights
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkohaut authored and sev- committed Sep 29, 2016
1 parent c7f7341 commit f5d5f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions engines/bladerunner/slice_renderer.cpp
Expand Up @@ -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();

Expand Down
3 changes: 1 addition & 2 deletions engines/bladerunner/view.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit f5d5f33

Please sign in to comment.