Skip to content

Commit

Permalink
BLADERUNNER: Remove unnecessary returns
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Mar 28, 2018
1 parent 0201979 commit 21a56c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engines/bladerunner/debugger.cpp
Expand Up @@ -257,7 +257,6 @@ bool Debugger::cmdPosition(int argc, const char **argv) {
debugPrintf("actorY(%i) = %f\n", actorId, actor->getY());
debugPrintf("actorZ(%i) = %f\n", actorId, actor->getZ());
debugPrintf("actorFacing(%i) = %i\n", actorId, actor->getFacing());
return true;
}

if (argc == 3) {
Expand All @@ -275,7 +274,6 @@ bool Debugger::cmdPosition(int argc, const char **argv) {
Vector3 position = otherActor->getXYZ();
actor->setSetId(otherActor->getSetId());
actor->setAtXYZ(position, otherActor->getFacing());
return true;
}

if (argc == 7) {
Expand All @@ -285,7 +283,6 @@ bool Debugger::cmdPosition(int argc, const char **argv) {

actor->setSetId(setId);
actor->setAtXYZ(position, facing);
return true;
}
return true;
}
Expand Down

0 comments on commit 21a56c7

Please sign in to comment.