Fixed another bug, installer didn't register the right mm version in the liblist.gam for AMD64 servers

This commit is contained in:
Christian Hammacher 2006-02-23 10:51:35 +00:00
parent 01b58a4635
commit 28ca230a53
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -362,7 +362,10 @@ begin
eStr[i] := '//' + eStr[i]; eStr[i] := '//' + eStr[i];
end; end;
eStr.Add('gamedll "addons\metamod\dlls\metamod.dll"'); eStr.Add('gamedll "addons\metamod\dlls\metamod.dll"');
eStr.Add('gamedll_linux "addons/metamod/dlls/metamod_i386.so"'); if OS = osLinux64 then
eStr.Add('gamedll_linux "addons/metamod/dlls/metamod_amd64.so"')
else
eStr.Add('gamedll_linux "addons/metamod/dlls/metamod_i386.so"');
FileSetAttr(ePath + 'liblist.gam', 0); FileSetAttr(ePath + 'liblist.gam', 0);
eStr.SaveToFile(ePath + 'liblist.gam'); eStr.SaveToFile(ePath + 'liblist.gam');
FileSetAttr(ePath + 'liblist.gam', faReadOnly); // important for listen servers FileSetAttr(ePath + 'liblist.gam', faReadOnly); // important for listen servers