From 9337c566161918ff75c9aa5fd2985ad242d82097 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 11 May 2007 21:51:19 +0000 Subject: [PATCH] arrange --- stepmania/src/GameState.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index d64181fb12..0b7b84d9f6 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -2102,6 +2102,16 @@ public: lua_pushstring(L, so.GetString()); return 1; } + static int SetSongOptions( T* p, lua_State *L ) + { + ModsLevel m = Enum::Check( L, 1 ); + + SongOptions so; + + so.FromString( SArg(2) ); + p->m_SongOptions.Assign( m, so ); + return 0; + } static int IsWinner( T* p, lua_State *L ) { PlayerNumber pn = Enum::Check(L, 1); @@ -2164,16 +2174,6 @@ public: LuaHelpers::CreateTableFromArray( vHP, L ); return 1; } - static int SetSongOptions( T* p, lua_State *L ) - { - ModsLevel m = Enum::Check( L, 1 ); - - SongOptions so; - - so.FromString( SArg(2) ); - p->m_SongOptions.Assign( m, so ); - return 0; - } static int GetCurrentStyle( T* p, lua_State *L ) { Style *pStyle = const_cast