|
@@ -196,7 +196,7 @@ int Karte::getObjektAnzahl() const
|
|
int Karte::getTeamNummer( int sNum ) const
|
|
int Karte::getTeamNummer( int sNum ) const
|
|
{
|
|
{
|
|
int min = teamGröße->get( 0 );
|
|
int min = teamGröße->get( 0 );
|
|
- for( int i = 1; i < teamAnzahl; i++ )
|
|
|
|
|
|
+ for( int i = 1; i <= teamAnzahl; i++ )
|
|
{
|
|
{
|
|
if( sNum <= min )
|
|
if( sNum <= min )
|
|
return i - 1;
|
|
return i - 1;
|