Changeset 7585 for code/branches/lastmanstanding/src
- Timestamp:
- Oct 26, 2010, 9:01:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.cc
r7583 r7585 151 151 if (!player) 152 152 return; 153 this->timeToAct_[player]=timeRemaining+3.0f;//reset timer 153 154 //Update: Individual Players "lifes"-HUD 154 155 std::map<PlayerInfo*, Player>::iterator it2 = this->players_.find(player); … … 209 210 { 210 211 it->second-=dt; 212 if (it->second<timeRemaining/6)//Warning message 213 { 214 const std::string& message = "Camper Warning! Don't forget to shoot."; 215 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); 216 } 211 217 if (it->second<0.0f) 212 218 {
Note: See TracChangeset
for help on using the changeset viewer.