Skip to content

Commit

Permalink
ResourceSystem: Renamed a variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 20, 2014
1 parent 1f42e81 commit 80b5a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/resource/resourcesystem.cpp
Expand Up @@ -1950,13 +1950,13 @@ DENG2_PIMPL(ResourceSystem)
Str_Set(Str_InitStd(&parm.fallbackGameId), gameId.toUtf8().constData());

// Try to convert the savegame via each plugin in turn.
dd_bool success = DD_CallHooks(HOOK_SAVEGAME_CONVERT, 0, &parm);
dd_bool conversionAttempted = DD_CallHooks(HOOK_SAVEGAME_CONVERT, 0, &parm);

Str_Free(&parm.sourcePaths);
Str_Free(&parm.outputPath);
Str_Free(&parm.fallbackGameId);

if(success)
if(conversionAttempted)
{
/// @todo kludge: Give the converter a chance to complete.
TimeDelta::fromMilliSeconds(1000).sleep();
Expand Down

0 comments on commit 80b5a36

Please sign in to comment.