Skip to content

Commit ba6d43b

Browse files
author
jdj
committed
Code clean up in launch game
1 parent 22e52fe commit ba6d43b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/mainform.pas

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,14 @@ procedure TFormMain.FormShow(Sender: TObject);
191191
end;
192192

193193
procedure TFormMain.LaunchGame( params: string );
194+
//var
195+
// s: ansistring;
194196
begin
195197
// Just run the game. Don't wait for it.
196198
// The user knows how and when to actiave or deactivate stuff.
197199
ShellExecute( 0, nil, PChar(settings.game_exe), PChar(params), nil, SW_NORMAL );
200+
//RunCommand( settings.game_exe, [params], s );
201+
//SysUtils.ExecuteProcess(settings.game_exe, params, []);
198202
end;
199203

200204
// Makes sure that mod AI is activated if required.

0 commit comments

Comments
 (0)