Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9986 for code/trunk/src


Ignore:
Timestamp:
Jan 5, 2014, 2:39:34 PM (10 years ago)
Author:
jo
Message:

Improving the first mission. Two fixes are needed to make it well playable:

  1. an end, if the countdown run out
  2. a place for the portal such that when the player flies through, the player position is right.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Mission.cc

    r9730 r9986  
    8686    void Mission::end()
    8787    {
     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!");
    8892        Gametype::end();
    89         if (this->missionAccomplished_)
    90             this->gtinfo_->sendAnnounceMessage("Mission accomplished!");
    91         else
    92             this->gtinfo_->sendAnnounceMessage("Mission failed!");
    9393    }
    9494
Note: See TracChangeset for help on using the changeset viewer.