hedgewars/hwengine.pas
branchexperimental3D
changeset 4343 19cbea33e4d2
parent 4004 b1c2c2f6fc5e
parent 4046 cfdbddc4b385
child 4812 f924be23ffb4
--- a/hedgewars/hwengine.pas	Wed Oct 27 14:23:47 2010 +0200
+++ b/hedgewars/hwengine.pas	Mon Nov 15 12:37:39 2010 +0100
@@ -269,24 +269,25 @@
 
     LoadLocale(Pathz[ptLocale] + '/en.txt');  // Do an initial load with english
     if cLocaleFName <> 'en.txt' then
-    begin
+        begin
         // Try two letter locale first before trying specific locale overrides
         if (Length(cLocaleFName) > 6) and (Copy(cLocaleFName,1,2)+'.txt' <> 'en.txt') then
             LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocaleFName,1,2)+'.txt');
         LoadLocale(Pathz[ptLocale] + '/' + cLocaleFName);
-    end;
+        end;
 
     WriteLnToConsole(msgGettingConfig);
+
     if recordFileName = '' then
-    begin
+        begin
         InitIPC;
         SendIPCAndWaitReply('C');        // ask for game config
-    end
+        end
     else
-    begin
+        begin
         LoadRecordFromFile(recordFileName);
         perfExt_SaveBeganSynching();
-    end;
+        end;
 
     ScriptOnGameInit;