This appears to have gotten misdirected in the great occupants-players renaming of '07. It always used to reference the member var, not the local var, and appears to still need to since the indices include all slots, not just the filled ones.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@527 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -195,7 +195,7 @@ public class Table
|
|||||||
for (int ii=0; ii < teams.length; ii++) {
|
for (int ii=0; ii < teams.length; ii++) {
|
||||||
set.clear();
|
set.clear();
|
||||||
for (int jj=0; jj < teams[ii].length; jj++) {
|
for (int jj=0; jj < teams[ii].length; jj++) {
|
||||||
Name occ = plist[teams[ii][jj]];
|
Name occ = players[teams[ii][jj]];
|
||||||
if (occ != null) {
|
if (occ != null) {
|
||||||
set.add(ListUtil.indexOf(plist, occ));
|
set.add(ListUtil.indexOf(plist, occ));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user