File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ void openLicenceFile() {
209209 }
210210}
211211
212- int runUNINST () {
212+ void runUNINST () {
213213 std::string uninst = " UNINST.EXE" ;
214214
215215 if (!fileExists (uninst)) {
216216 std::cout << " Error: " << uninst << " not found in directory.\n " << std::endl;
217217 TaskExecution::pressEnterToExit ();
218- return 1 ;
218+ return ;
219219 }
220220#ifdef _WIN32
221221 if (system (" UNINST.EXE" ) != 0 ) {
@@ -228,14 +228,14 @@ int runUNINST() {
228228#endif
229229}
230230
231- int Ed4Intro () {
231+ void Ed4Intro () {
232232 std::string Ed4IntroEXE = " Ed4Intro.exe" ;
233233
234234 // Check if Ed4Intro.exe exists
235235 if (!fs::exists (" Ed4Intro.exe" )) {
236236 printf (" Error: This directory does not seem to be an Le Pays des pierres magiques game directory.\n " );
237237 TaskExecution::pressEnterToExit ();
238- return 1 ;
238+ return ;
239239 }
240240#ifdef _WIN32
241241 int Ed4Intro = system (" Ed4Intro.exe" );
You can’t perform that action at this time.
0 commit comments