Updated TF2_OnIsHolidayActive ret behavior to match doc (bug 5155, r=fyren).

This commit is contained in:
Nicholas Hastings
2011-11-04 10:01:33 -04:00
parent 2995531ca6
commit 9a1713a9f8
+1 -1
View File
@@ -51,7 +51,7 @@ DETOUR_DECL_STATIC1(IsHolidayActive, bool, int, holiday)
g_isHolidayForward->PushCellByRef(&newres);
g_isHolidayForward->Execute(&result);
if (result == Pl_Changed)
if (result > Pl_Continue)
{
return (newres == 0) ? false : true;
}