Skip to content

Commit 19389e7

Browse files
authored
fix opcode id typo (#40)
1 parent 8c9f17e commit 19389e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/CCustomOpcodeSystem.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ namespace CLEO
403403
CLEO_RegisterOpcode(0x2000, opcode_2000); // resolve_filepath
404404
CLEO_RegisterOpcode(0x2001, opcode_2001); // get_script_filename
405405
CLEO_RegisterOpcode(0x2002, opcode_2002); // cleo_return_with
406-
CLEO_RegisterOpcode(0x2002, opcode_2003); // cleo_return_false
406+
CLEO_RegisterOpcode(0x2003, opcode_2003); // cleo_return_false
407407
}
408408

409409
void CCustomOpcodeSystem::Inject(CCodeInjector& inj)
@@ -3538,4 +3538,4 @@ extern "C"
35383538

35393539
std::memcpy(buf, text.c_str(), text.length() + 1); // with terminator
35403540
}
3541-
}
3541+
}

0 commit comments

Comments
 (0)