Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2008, 9:46:11 PM (15 years ago)
Author:
dafrick
Message:
  • Completed the message clipping method for Notifications.
  • Some other minor changes…
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem3/src/orxonox/objects/quest/QuestEffectBeacon.cc

    r2262 r2349  
    9191        SUPER(QuestEffectBeacon, processEvent, event);
    9292   
    93     SetSubclassEvent(QuestEffectBeacon, "execute", execute, event, PlayerTrigger);
     93        SetSubclassEvent(QuestEffectBeacon, "execute", execute, event, PlayerTrigger);
    9494    }
    9595   
     
    167167        if(activate)
    168168        {
    169         this->status_ = QuestEffectBeaconStatus::active;
    170         return true;
     169            this->status_ = QuestEffectBeaconStatus::active;
     170            return true;
    171171        }
    172172       
     
    193193       
    194194        this->times_ = this->times_ - 1; //!< Decrement number of times the QuestEffectBeacon can be executed.
    195     if(this->getTimes() == 0) //!< Set the QuestEffectBeacon to inactive when the number of times it can be executed is reduced to 0.
    196     {
    197             this->status_ = QuestEffectBeaconStatus::inactive;
    198     }
    199        
     195        if(this->getTimes() == 0) //!< Set the QuestEffectBeacon to inactive when the number of times it can be executed is reduced to 0.
     196        {
     197                this->status_ = QuestEffectBeaconStatus::inactive;
     198        }
     199           
    200200        return true;
    201201    }
Note: See TracChangeset for help on using the changeset viewer.