prepare for vyhdycokio anger
This commit is contained in:
+3
-3
@@ -1621,14 +1621,14 @@ public:
|
|||||||
static int IsRouletting( T* p, lua_State *L ){ lua_pushboolean( L, p->IsRouletting() ); return 1; }
|
static int IsRouletting( T* p, lua_State *L ){ lua_pushboolean( L, p->IsRouletting() ); return 1; }
|
||||||
static int SelectSong( T* p, lua_State *L )
|
static int SelectSong( T* p, lua_State *L )
|
||||||
{
|
{
|
||||||
if( lua_isnil(L,1) ) { lua_pushboolean( L, false ); return 1; }
|
if( lua_isnil(L,1) ) { lua_pushboolean( L, false ); }
|
||||||
else { Song *pS = Luna<Song>::check( L, 1, true ); lua_pushboolean( L, p->SelectSong( pS ) ); }
|
else { Song *pS = Luna<Song>::check( L, 1, true ); lua_pushboolean( L, p->SelectSong( pS ) ); }
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
static int SelectCourse( T* p, lua_State *L )
|
static int SelectCourse( T* p, lua_State *L )
|
||||||
{
|
{
|
||||||
if( lua_isnil(L,1) ) { lua_pushboolean( L, false ); return 1; }
|
if( lua_isnil(L,1) ) { lua_pushboolean( L, false ); }
|
||||||
else { Course *pC = Luna<Course>::check( L, 1, true ); lua_pushboolean( L, p->SelectSong( pC ) ); }
|
else { Course *pC = Luna<Course>::check( L, 1, true ); lua_pushboolean( L, p->SelectCourse( pC ) ); }
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user