Updated TF2_OnIsHolidayActive ret behavior to match doc (bug 5155, r=fyren).
authorNicholas Hastings <skamonkey@gmail.com>
Fri Nov 04 10:01:33 2011 -0400 (2011-11-04)
changeset 343807a1b8a8a2ba
parent 3437 601c67fafa17
child 3439 55d5cda03183
Updated TF2_OnIsHolidayActive ret behavior to match doc (bug 5155, r=fyren).
extensions/tf2/holiday.cpp
     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  	}