JC> int &player = id[j].controller-1;
How does that help? The compiler should, at the least, complain it has to
create a temporary for the reference to refer to.
Get rid of the &.
{And, due to the complexity of the original, I'll assume it was just pure
confusion that led to the incorrect "player" - it should be
data[id[j]].controller-1, if I read it correctly}
JC> pointer[data[id[j]].controller -
JC> 1][k[data[id[j]].controller - 1]] = id[j];
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)
|