Changeset 9986 for code/trunk/src/orxonox
- Timestamp:
- Jan 5, 2014, 2:39:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gametypes/Mission.cc
r9730 r9986 86 86 void Mission::end() 87 87 { 88 if (this->missionAccomplished_ && !this->gtinfo_->hasEnded()) 89 this->gtinfo_->sendAnnounceMessage("Mission accomplished!"); 90 else if (!this->gtinfo_->hasEnded()) 91 this->gtinfo_->sendAnnounceMessage("Mission failed!"); 88 92 Gametype::end(); 89 if (this->missionAccomplished_)90 this->gtinfo_->sendAnnounceMessage("Mission accomplished!");91 else92 this->gtinfo_->sendAnnounceMessage("Mission failed!");93 93 } 94 94
Note: See TracChangeset
for help on using the changeset viewer.