mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-18 09:00:21 +02:00
Properly correct the opcode in OP_LOAD_STORE_SELF_VAR when self is NULL
This commit is contained in:
1 parent
87e5b6d41e
commit
6b02457190
1 file changed
+1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user