mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Properly correct the opcode in OP_LOAD_STORE_SELF_VAR when self is NULL
This commit is contained in:
parent
87e5b6d41e
commit
6b02457190
1 changed files with 1 additions and 0 deletions
|
@ -1534,6 +1534,7 @@ void ScriptVM::Execute(ScriptVariable *data, int dataSize, str label)
|
|||
|
||||
case OP_LOAD_STORE_SELF_VAR:
|
||||
if (!m_ScriptClass->m_Self) {
|
||||
m_CodePos += sizeof(unsigned int);
|
||||
ScriptError("self is NULL");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue