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
@@ -289,7 +289,7 @@ public:
}
static int SetFromGameState( T* p, lua_State *L )
{
PlayerNumber pn = (PlayerNumber)IArg(1);
PlayerNumber pn = Enum::Check<PlayerNumber>(L, 1);
p->SetFromGameState( pn );
return 0;
}