aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index 45f10f35c3..5d3b90005c 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -1059,7 +1059,7 @@ void Script::loadModule(uint scriptModuleNumber) {
size_t resourceLength;
// Validate script number
- if ((scriptModuleNumber < 0) || (scriptModuleNumber >= _modules.size())) {
+ if (scriptModuleNumber >= _modules.size()) {
error("Script::loadScript() Invalid script module number");
}