Fixed regression in ForwardSys with ET_LowEvent

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402390
This commit is contained in:
Matt Woodrow 2008-07-08 23:55:29 +00:00
parent bd2361c8ae
commit 80fdbcf8c7

View File

@ -385,7 +385,8 @@ int CForward::Execute(cell_t *result, IForwardFilter *filter)
}
case ET_LowEvent:
{
if (cur_result < low_result)
/* Check if the current result is the lowest so far (or if it's the first result) */
if (cur_result < low_result || success == 1)
{
low_result = cur_result;
}