patterns: Correctly reset data offset each evaluation
Fixes a bug mentioned in #313
This commit is contained in:
parent
066161f397
commit
aef959854f
@ -105,6 +105,8 @@ namespace hex::pl {
|
||||
this->m_customFunctions.clear();
|
||||
this->m_scopes.clear();
|
||||
|
||||
this->dataOffset() = 0x00;
|
||||
|
||||
for (auto &func : this->m_customFunctionDefinitions)
|
||||
delete func;
|
||||
this->m_customFunctionDefinitions.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user