1.1 --- a/core/systems/ForwardSys.cpp Wed Feb 07 03:34:24 2007 +0000
1.2 +++ b/core/systems/ForwardSys.cpp Wed Feb 07 08:42:48 2007 +0000
1.3 @@ -391,15 +391,20 @@
1.4 }
1.5 }
1.6
1.7 - if (m_ExecType == ET_Event || m_ExecType == ET_Hook)
1.8 + if (success)
1.9 {
1.10 - cur_result = high_result;
1.11 - } else if (m_ExecType == ET_Ignore) {
1.12 - cur_result = 0;
1.13 + if (m_ExecType == ET_Event || m_ExecType == ET_Hook)
1.14 + {
1.15 + cur_result = high_result;
1.16 + } else if (m_ExecType == ET_Ignore) {
1.17 + cur_result = 0;
1.18 + }
1.19 + if (result)
1.20 + {
1.21 + *result = cur_result;
1.22 + }
1.23 }
1.24
1.25 - *result = cur_result;
1.26 -
1.27 if (filter)
1.28 {
1.29 filter->OnExecuteEnd(&cur_result, success, failed);