simplify LuaXType

This commit is contained in:
Glenn Maynard
2006-09-26 07:13:54 +00:00
parent 444dd8afbb
commit 600fdfea63
8 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ static const char *CourseTypeNames[] = {
};
XToString( CourseType, NUM_CourseType );
XToLocalizedString( CourseType );
LuaXType( CourseType, NUM_CourseType, "CourseType_" );
LuaXType( CourseType );
LuaFunction( CourseTypeToLocalizedString, CourseTypeToLocalizedString( Enum::Check<CourseType>( L, 1 ) ) );