mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fixed commands not being executed properly on a specific type of array of listeners
This commit is contained in:
parent
56044dd8f8
commit
0ed92943de
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ void ScriptVM::execCmdMethodCommon(op_parmNum_t param)
|
|||
array.CastConstArrayValue();
|
||||
|
||||
for (uintptr_t i = array.arraysize(); i > 0; i--) {
|
||||
Listener *const listener = array[i]->listenerAt(i);
|
||||
Listener *const listener = array.listenerAt(i);
|
||||
if (listener) {
|
||||
executeCommand<true>(listener, param, eventNum);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue