diff --git a/stepmania/src/LuaManager.h b/stepmania/src/LuaManager.h index b108139316..135440e5aa 100644 --- a/stepmania/src/LuaManager.h +++ b/stepmania/src/LuaManager.h @@ -28,7 +28,7 @@ namespace LuaHelpers bool FromStack( CString &Object, int iOffset, lua_State *L ); template - void ReadArrayFromTable( vector aOut, lua_State *L = NULL ); + void ReadArrayFromTable( vector &aOut, lua_State *L = NULL ); template void PushStack( const T &val, lua_State *L = NULL ); template @@ -99,7 +99,7 @@ public: namespace LuaHelpers { template - void ReadArrayFromTable( vector aOut, lua_State *L ) + void ReadArrayFromTable( vector &aOut, lua_State *L ) { if( L == NULL ) L = LUA->L;