From 780eeece46fca451d54967c54e57ce6e1b6d1694 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 24 Mar 2006 18:29:40 +0000 Subject: [PATCH] typo --- stepmania/src/UnlockManager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/UnlockManager.cpp b/stepmania/src/UnlockManager.cpp index 6d946b5816..ec93d342c5 100644 --- a/stepmania/src/UnlockManager.cpp +++ b/stepmania/src/UnlockManager.cpp @@ -301,7 +301,7 @@ bool UnlockEntry::IsRequirementMet() const if( m_fRequirement[i] && fScores[i] >= m_fRequirement[i] ) return true; - if( m_bRequrePassHardSteps && m_pSong ) + if( m_bRequirePassHardSteps && m_pSong ) { vector vp; m_pSong->GetSteps( @@ -437,7 +437,7 @@ void UnlockManager::Load() } else if( sName == "RequrePassHardSteps" ) { - current.m_bRequrePassHardSteps = true; + current.m_bRequirePassHardSteps = true; } else { @@ -463,7 +463,7 @@ void UnlockManager::Load() UnlockEntry ue; ue.m_Type = UnlockRewardType_Steps; ue.m_cmd.Load( "steps,"+(*s)->m_sGroupName+"/"+(*s)->GetTranslitFullTitle()+",expert" ); - ue.m_bRequrePassHardSteps = true; + ue.m_bRequirePassHardSteps = true; m_UnlockEntries.push_back( ue ); } @@ -496,7 +496,7 @@ void UnlockManager::Load() FOREACH_ENUM2( UnlockRequirement, j ) if( e->m_fRequirement[j] ) str += ssprintf( "%s = %f; ", UnlockRequirementToString(j).c_str(), e->m_fRequirement[j] ); - if( e->m_bRequrePassHardSteps ) + if( e->m_bRequirePassHardSteps ) str += "RequrePassHardSteps; "; str += ssprintf( "entryID = %i ", e->m_iEntryID ); @@ -677,7 +677,7 @@ public: static int GetDescription( T* p, lua_State *L ) { lua_pushstring(L, p->GetDescription() ); return 1; } static int GetUnlockRewardType( T* p, lua_State *L ) { lua_pushnumber(L, p->m_Type ); return 1; } static int GetRequirement( T* p, lua_State *L ) { UnlockRequirement i = (UnlockRequirement)IArg(1); lua_pushnumber(L, p->m_fRequirement[i] ); return 1; } - static int GetRequrePassHardSteps( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bRequrePassHardSteps); return 1; } + static int GetRequrePassHardSteps( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bRequirePassHardSteps); return 1; } static void Register(lua_State *L) {