This commit is contained in:
Glenn Maynard
2007-04-29 03:44:17 +00:00
parent b07a3d75d0
commit 37153327bb
+2 -1
View File
@@ -736,10 +736,11 @@ void ScreenEvaluation::Input( const InputEventPlus &input )
RString sDir = PROFILEMAN->GetProfileDir((ProfileSlot)pn) + "Screenshots/";
int iScreenshotIndex = pProfile->GetNextScreenshotIndex();
RString sFileName = StepMania::SaveScreenshot( sDir, true, true, iScreenshotIndex );
RString sPath = sDir+sFileName;
if( !sFileName.empty() )
{
RString sPath = sDir+sFileName;
const HighScore &hs = m_pStageStats->m_player[pn].m_HighScore;
Screenshot screenshot;
screenshot.sFileName = sFileName;