diff options
author | Eugene Sandulenko | 2016-10-03 12:38:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-03 12:38:43 +0200 |
commit | 281c19ab036f387a99192594aa645e696009f40b (patch) | |
tree | e4de335067b68ee83b76de33c9b7f86b4f016d35 /engines/bladerunner/actor.cpp | |
parent | 77be430824ad0cafb0de9952ecb352ba4ad18571 (diff) | |
download | scummvm-rg350-281c19ab036f387a99192594aa645e696009f40b.tar.gz scummvm-rg350-281c19ab036f387a99192594aa645e696009f40b.tar.bz2 scummvm-rg350-281c19ab036f387a99192594aa645e696009f40b.zip |
BLADERUNNER: Code formatting fixes
Diffstat (limited to 'engines/bladerunner/actor.cpp')
-rw-r--r-- | engines/bladerunner/actor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/bladerunner/actor.cpp b/engines/bladerunner/actor.cpp index ba0bedae5f..1ea2b17de8 100644 --- a/engines/bladerunner/actor.cpp +++ b/engines/bladerunner/actor.cpp @@ -402,7 +402,7 @@ void Actor::draw() { float draw_scale = _scale; // TODO: Handle SHORTY mode - + _vm->_sliceRenderer->drawFrame(_animationId, _animationFrame, draw_position, draw_facing, draw_scale, _vm->_surface2, _vm->_zBuffer2); //todo udpate screenrect } @@ -798,8 +798,7 @@ bool Actor::hasClue(int clueId) { void Actor::copyClues(int actorId) { Actor *otherActor = _vm->_actors[actorId]; - int i; - for (i = 0; i < (int)_vm->_gameInfo->getClueCount(); i++) { + for (int i = 0; i < (int)_vm->_gameInfo->getClueCount(); i++) { if (hasClue(i) && !_clues->isFlag4(i) && !otherActor->hasClue(i)) { int fromActorId = _id; if (_id == 99) |