bugfix for HLDM (listen server)
This commit is contained in:
parent
cb92e45712
commit
0a66780727
Binary file not shown.
|
@ -344,9 +344,14 @@ begin
|
|||
MessageBox(Handle, 'An error occured. Please report this bug to the AMX Mod X team and post a new thread on the forums of www.amxmodx.org.', PChar(Application.Title), MB_ICONSTOP)
|
||||
else begin
|
||||
if not FileExists(ePath + '\liblist.gam') then begin
|
||||
MessageBox(Handle, 'You have to play this game once before installing AMX Mod X. Do this and try again.', PChar(Application.Title), MB_ICONWARNING);
|
||||
// added for HLDM
|
||||
if FileExists(ExtractFilePath(ePath) + 'liblist.gam') then
|
||||
ePath := ExtractFilePath(ePath)
|
||||
else begin
|
||||
MessageBox(Handle, 'You have to play this game once before installing AMX Mod X. Do that and try again.', PChar(Application.Title), MB_ICONWARNING);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
|
||||
jspInstallProgress.Show;
|
||||
if (Pos('\cstrike', ePath) <> Pos('\counter-strike', ePath)) or (Pos('\condition zero', ePath) <> Pos('czero', ePath)) then begin // Counter-Strike & Condition Zero
|
||||
|
|
Loading…
Reference in New Issue
Block a user