From 78fea60b31fcf908f159f77bb665b7e5bda259c0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 20 Mar 2004 17:45:34 +0000 Subject: [PATCH] GameState::GetNumHumanPlayers --- stepmania/src/GameState.cpp | 9 +++++++++ stepmania/src/GameState.h | 1 + 2 files changed, 10 insertions(+) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 2f48e5ea79..93ec1cd150 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -674,6 +674,15 @@ bool GameState::IsHumanPlayer( PlayerNumber pn ) const } } +int GameState::GetNumHumanPlayers() const +{ + int count = 0; + for( int p=0; p