selecting the clonks via hotkey was all backwards (#1031)

e.g. pressing ctrl+3 selected 1st clonk if there are 3 in the crew
heavy-resources
Tobias Zwick 2014-02-16 13:15:07 +07:00
parent 13a60848c6
commit 3a8c8d7c3b
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ global func Control2Player(int plr, int ctrl, int x, int y, int strength, bool r
if (hotkey > 0)
{
// valid crew number?
var crew = GetCrew(plr,GetCrewCount()-hotkey);
var crew = GetCrew(plr,hotkey-1);
if (!crew) return false;
// stop previously selected crew
StopSelected();