Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 21, 2012, 7:28:51 PM (12 years ago)
Author:
jo
Message:

Corrected getNumberOfPlayers().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/orxonox/gametypes/Gametype.h

    r9339 r9341  
    154154
    155155            /**
    156             @brief Get number of Players.
    157             Note that only those players are counted that were added before the game started.
     156            @brief Get number of Players in game.
    158157            */
    159158            inline unsigned int getNumberOfPlayers() const
    160                 { return this->gtinfo_->getNumberOfPlayers(); }
     159                { return this->players_.size(); }
     160
     161
    161162
    162163        protected:
Note: See TracChangeset for help on using the changeset viewer.