- fixed a bug with difficulty sliders re-enabling AIs after AIs were disabled by host
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1732 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
3dc727f709
commit
089fe0b7f1
|
@ -1485,8 +1485,8 @@ UDWORD addPlayerBox(BOOL players)
|
|||
sFormInit.pDisplay = displayPlayer;//intDisplayButtonHilight;
|
||||
sFormInit.pUserData = (void*) i;
|
||||
widgAddForm(psWScreen, &sFormInit);
|
||||
addFESlider(MULTIOP_SKSLIDE+i,sFormInit.id, 43,9,
|
||||
DIFF_SLIDER_STOPS, DIFF_SLIDER_STOPS / 2, 0); //set to 50%
|
||||
addFESlider(MULTIOP_SKSLIDE+i,sFormInit.id, 43,9, DIFF_SLIDER_STOPS,
|
||||
(game.skDiff[i] <= DIFF_SLIDER_STOPS ? game.skDiff[i] : DIFF_SLIDER_STOPS / 2), 0); //set to 50% (value of UBYTE_MAX == human player)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue