equal
deleted
inserted
replaced
728 |
728 |
729 // unC0Rr - should this be passed from the GUI? I am not sure which layer does what |
729 // unC0Rr - should this be passed from the GUI? I am not sure which layer does what |
730 s:= Pathz[ptMapCurrent] + '/map.cfg'; |
730 s:= Pathz[ptMapCurrent] + '/map.cfg'; |
731 WriteLnToConsole('Fetching map HH limit'); |
731 WriteLnToConsole('Fetching map HH limit'); |
732 Assign(f, s); |
732 Assign(f, s); |
|
733 filemode:= 0; // readonly |
733 Reset(f); |
734 Reset(f); |
734 Readln(f); |
735 Readln(f); |
735 if not eof(f) then Readln(f, MaxHedgehogs); |
736 if not eof(f) then Readln(f, MaxHedgehogs); |
736 |
737 |
737 if (MaxHedgehogs = 0) then MaxHedgehogs:= 18; |
738 if (MaxHedgehogs = 0) then MaxHedgehogs:= 18; |