1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

fixed bug for FTP installations where OrangeBox was not detected

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40508
This commit is contained in:
Christian Hammacher 2007-10-13 20:15:58 +00:00
parent 5c49d4c583
commit ac218e65f2
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -187,7 +187,7 @@ begin
eStr.Free;
// check for orangebox directory
Source := True;
if (eStr.IndexOf('orangebox') <> -1) then begin
if (AnsiSameText(ExtractFileName(trvDirectories.Selected.Text), 'tf')) then begin
case MessageBox(Handle, 'It looks like your server is using the OrangeBox engine. Would you like to install the appropriate binaries for it?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNOCANCEL) of
mrYes: Source := False;
mrNo: Source := True;