aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-29 00:05:04 +0200
committerEugene Sandulenko2018-03-29 00:08:34 +0200
commit21a56c729745ad85c051735de8910eef06b83008 (patch)
tree82068251d020be4f6541ec452173ec7709fdf100 /engines
parent0201979c55010c26b23863908fb278a61dcb766c (diff)
downloadscummvm-rg350-21a56c729745ad85c051735de8910eef06b83008.tar.gz
scummvm-rg350-21a56c729745ad85c051735de8910eef06b83008.tar.bz2
scummvm-rg350-21a56c729745ad85c051735de8910eef06b83008.zip
BLADERUNNER: Remove unnecessary returns
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/debugger.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/bladerunner/debugger.cpp b/engines/bladerunner/debugger.cpp
index 87ab5d2cc1..6f5c7153b6 100644
--- a/engines/bladerunner/debugger.cpp
+++ b/engines/bladerunner/debugger.cpp
@@ -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) {
@@ -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) {
@@ -285,7 +283,6 @@ bool Debugger::cmdPosition(int argc, const char **argv) {
actor->setSetId(setId);
actor->setAtXYZ(position, facing);
- return true;
}
return true;
}