mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Swap code with event pointer
This commit is contained in:
parent
7a8aa4eb84
commit
fbee409f47
1 changed files with 5 additions and 5 deletions
|
@ -910,11 +910,6 @@ void ScriptThreadLabel::Execute(Listener *listener)
|
|||
}
|
||||
|
||||
void ScriptThreadLabel::Execute(Listener *listener, Event& ev)
|
||||
{
|
||||
Execute(listener, &ev);
|
||||
}
|
||||
|
||||
void ScriptThreadLabel::Execute(Listener *listener, Event *ev)
|
||||
{
|
||||
if (!m_Script) {
|
||||
return;
|
||||
|
@ -927,6 +922,11 @@ void ScriptThreadLabel::Execute(Listener *listener, Event *ev)
|
|||
}
|
||||
}
|
||||
|
||||
void ScriptThreadLabel::Execute(Listener *listener, Event *ev)
|
||||
{
|
||||
Execute(listener, *ev);
|
||||
}
|
||||
|
||||
void ScriptThreadLabel::Execute(Listener *pSelf, const SafePtr<Listener>& listener, const SafePtr<Listener>& param)
|
||||
{
|
||||
if (!m_Script) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue