move AutoPlay

This commit is contained in:
Glenn Maynard
2006-11-21 05:02:55 +00:00
parent 186f47df98
commit f0dab15f30
11 changed files with 23 additions and 20 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include "ScreenGameplayLesson.h"
#include "RageLog.h"
#include "GameState.h"
#include "PrefsManager.h"
#include "GamePreferences.h"
#include "StatsManager.h"
#include "song.h"
@@ -165,7 +165,7 @@ void ScreenGameplayLesson::ChangeLessonPage( int iDir )
// Change back to the current autoplay setting (in most cases, human controlled).
FOREACH_EnabledPlayerInfo( m_vPlayerInfo, pi )
pi->GetPlayerState()->m_PlayerController = PREFSMAN->m_AutoPlay;
pi->GetPlayerState()->m_PlayerController = GamePreferences::m_AutoPlay;
}
else
{