Changeset 589 for trunk/Direct.pas


Ignore:
Timestamp:
Jul 24, 2024, 10:51:34 AM (8 weeks ago)
Author:
chronos
Message:
  • Fixed: With selected map it was not possible to start a new game due to wrong map path.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r565 r589  
    239239      if ExtractFileExt(FileName) = CevoExt then begin
    240240        Quick := True;
    241         if not LoadGame(ExtractFilePath(ParamStr(1)), ExtractFileName(ParamStr(1)
    242         ), -1, False) then begin
     241        if not LoadGame(ParamStr(1), -1, False) then begin
    243242          SimpleMessage(Phrases.Lookup('LOADERR'));
    244243          Close;
Note: See TracChangeset for help on using the changeset viewer.