# HG changeset patch # User unc0rr # Date 1448988599 -10800 # Node ID f7fa429e42abed59dd708e2486fc5b009a27c941 # Parent 28fb618d99c403980b4608947ece406d35bad5d2 Fix FULLMAPCONFIG handling diff -r 28fb618d99c4 -r f7fa429e42ab hedgewars/uFLNetProtocol.pas --- a/hedgewars/uFLNetProtocol.pas Mon Nov 30 23:43:19 2015 +0300 +++ b/hedgewars/uFLNetProtocol.pas Tue Dec 01 19:49:59 2015 +0300 @@ -73,15 +73,15 @@ inc(fmcfgIndex); case fmcfgIndex of - 1: if s.str1[0] <> '+' then netSetMap(s.str1); - 2: netSetMapGen(strToInt(s.str1)); - 3: netSetMazeSize(strToInt(s.str1)); - 4: netSetTheme(s.str1); - 5: netSetTemplate(strToInt(s.str1)); + 1: netSetFeatureSize(strToInt(s.str1)); + 2: if s.str1[0] <> '+' then netSetMap(s.str1); + 3: netSetMapGen(strToInt(s.str1)); + 4: netSetMazeSize(strToInt(s.str1)); + 5: netSetSeed(s.str1); 6: begin - netSetFeatureSize(strToInt(s.str1)); + netSetTemplate(strToInt(s.str1)); updatePreviewIfNeeded; - end; + end; end; end;