Allow MapZoom values smaller than 5

liquid_container
Lukas Werling 2016-04-20 20:56:05 +02:00
parent 7005eae55d
commit 1f9c15e388
1 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ void C4SLandscape::Default()
InEarth.Default();
MapWdt.Set(100,0,64,250);
MapHgt.Set(50,0,40,250);
MapZoom.Set(8,0,5,15);
MapZoom.Set(8,0,1,15);
Amplitude.Set(0,0);
Phase.Set(50);
Period.Set(15);
@ -322,7 +322,7 @@ void C4SLandscape::CompileFunc(StdCompiler *pComp)
pComp->Value(mkNamingAdapt(AutoScanSideOpen, "AutoScanSideOpen", true));
pComp->Value(mkNamingAdapt(MapWdt, "MapWidth", C4SVal(100,0,64,250), true));
pComp->Value(mkNamingAdapt(MapHgt, "MapHeight", C4SVal(50,0,40,250), true));
pComp->Value(mkNamingAdapt(MapZoom, "MapZoom", C4SVal(8,0,5,15), true));
pComp->Value(mkNamingAdapt(MapZoom, "MapZoom", C4SVal(8,0,1,15), true));
pComp->Value(mkNamingAdapt(Amplitude, "Amplitude", C4SVal(0)));
pComp->Value(mkNamingAdapt(Phase, "Phase", C4SVal(50)));
pComp->Value(mkNamingAdapt(Period, "Period", C4SVal(15)));