Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2008, 8:39:00 AM (17 years ago)
Author:
dafrick
Message:

Finalizing, found an error…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/GlobalQuest.cc

    r2251 r2258  
    147147    bool GlobalQuest::isStartable(const PlayerInfo* player) const
    148148    {
     149        if(!(this->getParentQuest() == NULL || this->getParentQuest()->isActive(player)))
     150        {
     151            return false;
     152        }
    149153        return (this->isInactive(player) && !(this->status_ == questStatus::completed || this->status_ == questStatus::failed));
    150154    }
Note: See TracChangeset for help on using the changeset viewer.