Updated TF2_OnIsHolidayActive ret behavior to match doc (bug 5155, r=fyren).
Updated TF2_OnIsHolidayActive ret behavior to match doc (
bug 5155, r=fyren).
1.1 --- a/extensions/tf2/holiday.cpp Fri Nov 04 10:01:33 2011 -0400
1.2 +++ b/extensions/tf2/holiday.cpp Fri Nov 04 10:01:33 2011 -0400
1.3 @@ -51,7 +51,7 @@
1.4 g_isHolidayForward->PushCellByRef(&newres);
1.5 g_isHolidayForward->Execute(&result);
1.6
1.7 - if (result == Pl_Changed)
1.8 + if (result > Pl_Continue)
1.9 {
1.10 return (newres == 0) ? false : true;
1.11 }