Changeset 7984 for code/branches/kicklib
- Timestamp:
- Feb 27, 2011, 7:44:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/orxonox/gametypes/LastManStanding.cc
r7655 r7984 222 222 else 223 223 { 224 float damage=pawn->getMaxHealth()*punishDamageRate*0.5 ;//TODO: Factor 0.5 is hard coded. Where is the ratio between MaxHealth actually defined?224 float damage=pawn->getMaxHealth()*punishDamageRate*0.5f;//TODO: Factor 0.5 is hard coded. Where is the ratio between MaxHealth actually defined? 225 225 pawn->removeHealth(damage); 226 226 this->timeToAct_[player]=timeRemaining;//reset timer … … 251 251 if (it->first->getClientID()== CLIENTID_UNKNOWN) 252 252 continue; 253 int output=1+ playerDelayTime_[it->first];253 int output=1+(int)playerDelayTime_[it->first]; 254 254 const std::string& message = "Respawn in " +multi_cast<std::string>(output)+ " seconds." ;//Countdown 255 255 this->gtinfo_->sendFadingMessage(message,it->first->getClientID());
Note: See TracChangeset
for help on using the changeset viewer.