Skip to content

Commit

Permalink
avoid creating a broken link for test level
Browse files Browse the repository at this point in the history
  • Loading branch information
noisecode3 committed Dec 25, 2023
1 parent 7444bf0 commit 0ebffd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TombRaiderLinuxLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ void TombRaiderLinuxLauncher::linkClicked()
QString s = list.first()->text();
if (s == "Tomb Raider III Original")
s = "Original.TR3";
else if (s == "The Infada Cult\nby Jonson")
s = "Jonson-TheInfadaCult.TR3";
const QString p = levelPath + "/" + s;
if (QFile::link(p, gamePath))
{
Expand Down

0 comments on commit 0ebffd8

Please sign in to comment.