aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/voyeur/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/debugger.cpp b/engines/voyeur/debugger.cpp
index 456a59b465..04a6597b16 100644
--- a/engines/voyeur/debugger.cpp
+++ b/engines/voyeur/debugger.cpp
@@ -71,7 +71,7 @@ bool Debugger::Cmd_Time(int argc, const char **argv) {
}
} else {
int timeId = atoi(argv[1]);
- if (timeId >= 1 && timeId <= 17) {
+ if (timeId >= 1 && timeId < 17) {
int stateId = TIME_STATES[timeId - 1];
if (!stateId) {
DebugPrintf("Given time period is not used in-game\n");