Fixed regression in ForwardSys with ET_LowEvent

--HG--
branch : sourcemod-1.0.x
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402389
This commit is contained in:
Matt Woodrow 2008-07-08 23:55:15 +00:00
parent e6a84801d2
commit 7d42655e8f

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;
}