From 89e57aa708c60b6e032204b78decf51983b7eadc Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Fri, 11 Jul 2003 10:34:10 +0000 Subject: [PATCH] fixed bug in reading inis - it would reset if the file WAS found, not vice versa. --- stepmania/src/UnlockSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/UnlockSystem.cpp b/stepmania/src/UnlockSystem.cpp index c613e7f45f..eb47da322e 100644 --- a/stepmania/src/UnlockSystem.cpp +++ b/stepmania/src/UnlockSystem.cpp @@ -444,7 +444,7 @@ bool UnlockSystem::ReadValues( CString filename) data.SetPath(filename); - if (data.ReadFile()) + if (!data.ReadFile()) return false; data.GetValueF( "Unlock", "ArcadePointsAccumulated", ArcadePoints );