update binding

This commit is contained in:
Glenn Maynard
2006-09-27 01:48:30 +00:00
parent a93ede5130
commit 51d22ce2f4
6 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ public:
return 0;
}
static int Unset( T* p, lua_State *L ) { p->Unset(); return 0; }
static int SetPlayer( T* p, lua_State *L ) { p->SetPlayer( (PlayerNumber)IArg(1) ); return 0; }
static int SetPlayer( T* p, lua_State *L ) { p->SetPlayer( Enum::Check<PlayerNumber>(L, 1) ); return 0; }
static int SetFromDifficulty( T* p, lua_State *L ) { p->SetFromDifficulty( Enum::Check<Difficulty>(L, 1) ); return 0; }
static void Register(lua_State *L)