diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index ab516972..cf1bbff7 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -571,6 +571,8 @@ void FILESYSTEM_loadFileToMemory( goto fail; } + /* FIXME: Dumb hack to use `special/stdin.vvvvvv` here... + * This is also checked elsewhere... grep for `special/stdin`! */ if (SDL_strcmp(name, "levels/special/stdin.vvvvvv") == 0) { // this isn't *technically* necessary when piping directly from a file, but checking for that is annoying diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 54fba70a..d9a9dd9d 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -1965,7 +1965,10 @@ void Game::updatestate(void) case 1015: #if !defined(NO_CUSTOM_LEVELS) //Update level stats - if(cl.numcrewmates()-crewmates()==0) + /* FIXME: Have to add check to not save stats for the dumb hack + * `special/stdin.vvvvvv` filename... see elsewhere, grep for + * `special/stdin`! */ + if(cl.numcrewmates()-crewmates()==0 && customlevelfilename != "levels/special/stdin.vvvvvv") { //Finished level if (trinkets() >= cl.numtrinkets())