aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword1/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/logic.cpp b/sword1/logic.cpp
index c1e08929fa..98af0da068 100644
--- a/sword1/logic.cpp
+++ b/sword1/logic.cpp
@@ -1704,7 +1704,7 @@ void Logic::startPosCallFn(uint8 fnId, uint32 param1, uint32 param2, uint32 para
void Logic::runStartScript(const uint8 *data) {
uint16 varId = 0;
uint8 fnId = 0;
- uint32 param1 = 0, param2 = 0, param3 = 0;
+ uint32 param1 = 0;
while (*data != opcSeqEnd) {
switch (*data++) {
case opcCallFn: