Skip to content

Commit

Permalink
use the new profile slot agnostic replay folder to save replays
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 7, 2017
1 parent 3fd8f48 commit feb50ec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/HighScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,12 +550,7 @@ bool HighScoreImpl::WriteReplayData(bool duringload) {
string append;
string profiledir;

if (duringload)
profiledir = PROFILEMAN->currentlyloadingprofile;
else
profiledir = PROFILEMAN->GetProfileDir(ProfileSlot_Player1).substr(1); // THIS NEEDS TO BE HERE CAUSE LOL!!! -mina

string path = profiledir + "ReplayData/" + ScoreKey;
string path = REPLAY_DIR + ScoreKey;
ofstream fileStream(path, ios::binary);
//check file

Expand Down

0 comments on commit feb50ec

Please sign in to comment.