fixed bug in reading inis - it would reset if the file WAS found, not vice versa.
This commit is contained in:
@@ -444,7 +444,7 @@ bool UnlockSystem::ReadValues( CString filename)
|
|||||||
|
|
||||||
data.SetPath(filename);
|
data.SetPath(filename);
|
||||||
|
|
||||||
if (data.ReadFile())
|
if (!data.ReadFile())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
data.GetValueF( "Unlock", "ArcadePointsAccumulated", ArcadePoints );
|
data.GetValueF( "Unlock", "ArcadePointsAccumulated", ArcadePoints );
|
||||||
|
|||||||
Reference in New Issue
Block a user