simplify, work on fixing NoteSkinManager::RefreshNoteSkinData(Game*)
This commit is contained in:
@@ -31,13 +31,11 @@ NoteSkinManager::~NoteSkinManager()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void NoteSkinManager::RefreshNoteSkinData( const Game* game )
|
void NoteSkinManager::RefreshNoteSkinData( const Game* pGame )
|
||||||
{
|
{
|
||||||
/* Reload even if we don't need to, so exiting out of the menus refreshes the note
|
/* Reload even if we don't need to, so exiting out of the menus refreshes the note
|
||||||
* skin list (so you don't have to restart to see new noteskins). */
|
* skin list (so you don't have to restart to see new noteskins). */
|
||||||
m_pCurGame = GAMESTATE->m_pCurGame;
|
m_pCurGame = pGame;
|
||||||
|
|
||||||
const Game* pGame = game;
|
|
||||||
|
|
||||||
// clear path cache
|
// clear path cache
|
||||||
g_PathCache.clear();
|
g_PathCache.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user