From aeebc891062558e20047ae1617f78a43a3a4e187 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 26 Sep 2006 04:08:12 +0000 Subject: [PATCH] update typing --- stepmania/src/Course.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index f0a45dabaa..066de94e32 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -28,7 +28,7 @@ static const char *CourseTypeNames[] = { XToString( CourseType, NUM_CourseType ); XToLocalizedString( CourseType ); LuaXType2( CourseType, NUM_CourseType, "CourseType_" ); -LuaFunction( CourseTypeToLocalizedString, CourseTypeToLocalizedString((CourseType) IArg(1)) ); +LuaFunction( CourseTypeToLocalizedString, CourseTypeToLocalizedString( Enum::Check( L, 1 ) ) ); static const char *SongSortNames[] = {