Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2011, 4:21:48 PM (13 years ago)
Author:
eceline
Message:

Space Race mit countdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceraceTwo/src/orxonox/gametypes/Gametype.cc

    r8858 r8898  
    123123        if (this->gtinfo_->isStartCountdownRunning() && !this->gtinfo_->hasStarted())
    124124            this->gtinfo_->countdownStartCountdown(dt);
    125 
     125                       
    126126        if (!this->gtinfo_->hasStarted())
    127127        {
     
    129129            {
    130130                // Inform the GametypeInfo that the player is ready to spawn.
    131                 if(it->first->isHumanPlayer() && it->first->isReadyToSpawn())
     131                if(it->first->isHumanPlayer() && it->first->isReadyToSpawn()){
    132132                    this->gtinfo_->playerReadyToSpawn(it->first);
    133             }
    134                    
    135             this->checkStart();
     133                   
     134                }
     135            }
     136                 
     137                this->checkStart();
    136138        }
    137139        else if (!this->gtinfo_->hasEnded())
    138             this->spawnDeadPlayersIfRequested();
    139 
    140         this->assignDefaultPawnsIfNeeded();
     140           { this->spawnDeadPlayersIfRequested();
     141
     142        this->assignDefaultPawnsIfNeeded();}
    141143    }
    142144
Note: See TracChangeset for help on using the changeset viewer.