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
@@ -17,7 +17,7 @@ static const char *DifficultyNames[] = {
};
XToString( Difficulty, NUM_Difficulty );
XToLocalizedString( Difficulty );
LuaXType( Difficulty, NUM_Difficulty , "Difficulty_" );
LuaXType( Difficulty );
LuaFunction( DifficultyToLocalizedString, DifficultyToLocalizedString( Enum::Check<Difficulty>(L, 1)) );