updated some loops that were hardcoded for 2 players to maxplayers variable.
Authored by: SumolX 2006-08-22
Parent: [r84]
Child: [r86]