Changeset 8234 for code/trunk/src/orxonox/gametypes/LastTeamStanding.cc
- Timestamp:
- Apr 12, 2011, 5:10:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gametypes/LastTeamStanding.cc
r8212 r8234 198 198 if (it->first->getClientID()== CLIENTID_UNKNOWN) 199 199 continue; 200 int output = 1 + playerDelayTime_[it->first];200 int output = 1 + (int)playerDelayTime_[it->first]; 201 201 const std::string& message = "Respawn in " +multi_cast<std::string>(output)+ " seconds." ;//Countdown 202 202 this->gtinfo_->sendFadingMessage(message,it->first->getClientID()); … … 294 294 else 295 295 { 296 float damage = pawn->getMaxHealth()*punishDamageRate*0.5 ;//TODO: Factor 0.5 is hard coded. Where is the ratio between MaxHealth actually defined?296 float damage = pawn->getMaxHealth()*punishDamageRate*0.5f;//TODO: Factor 0.5 is hard coded. Where is the ratio between MaxHealth actually defined? 297 297 pawn->removeHealth(damage); 298 298 this->timeToAct_[player] = timeRemaining;//reset timer
Note: See TracChangeset
for help on using the changeset viewer.