hedgewars/uLand.pas
changeset 2747 7889a3a9724f
parent 2705 2b5625c4ec16
child 2866 450ca0afcd58
--- a/hedgewars/uLand.pas	Thu Feb 04 18:46:49 2010 +0000
+++ b/hedgewars/uLand.pas	Thu Feb 04 20:45:03 2010 +0000
@@ -730,6 +730,7 @@
 s:= Pathz[ptMapCurrent] + '/map.cfg';
 WriteLnToConsole('Fetching map HH limit');
 Assign(f, s);
+filemode:= 0; // readonly
 Reset(f);
 Readln(f);
 if not eof(f) then Readln(f, MaxHedgehogs);