From 0baadb8641d77f1c32ff5bb2cb2d56759e1b03cd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 20 Jun 2005 22:26:42 +0000 Subject: [PATCH] don't adjust MonthOfYear, so it lines up with MonthToString --- stepmania/src/DateTime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/DateTime.cpp b/stepmania/src/DateTime.cpp index 81e23ab2c6..033f375b4e 100644 --- a/stepmania/src/DateTime.cpp +++ b/stepmania/src/DateTime.cpp @@ -281,7 +281,7 @@ tm GetDayInYearAndYear( int iDayInYearIndex, int iYear ) return when; } -LuaFunction( MonthOfYear, GetLocalTime().tm_mon+1 ); +LuaFunction( MonthOfYear, GetLocalTime().tm_mon ); LuaFunction( DayOfMonth, GetLocalTime().tm_mday ); LuaFunction( Hour, GetLocalTime().tm_hour ); LuaFunction( Minute, GetLocalTime().tm_min );