Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2018, 11:17:41 PM (5 years ago)
Author:
stadlero
Message:

changed gametype from Deathmatch to Wagnis in Wagnis.oxw + some wip in Wagnis.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/src/modules/wagnis/WagnisPlayer.cc

    r12127 r12130  
    3030        SUPER(WagnisPlayer, tick, dt);
    3131
     32        ///////////TEST//////////////
     33        /**
     34        if(this->is_active){
     35            (master ->* ((orxonox::WagnisPlayer*)this)->orxonox::WagnisPlayer::finishedStageCallback) (this);
     36        }
     37
     38        **/
     39        ///////////TEST//////////////
     40
     41
     42
    3243        if(this->is_active)
    3344        {
     
    4556
    4657            if((this->province_selection_changed && this->origin_province != nullptr && this->target_province != nullptr)
    47             ||(this->province_selection_changed && this->target_province != nullptr && ((gamestage == CHOOSE_PROVINCE_STAGE)||(gamestage == REINFORCEMENT_STAGE)))){
     58            ||(this->province_selection_changed && this->target_province != nullptr && ((gameStage == CHOOSE_PROVINCE_STAGE)||(gameStage == REINFORCEMENT_STAGE)))){
    4859               
    4960                this->province_selection_changed = false;
    50                 switch(gamestage){
     61                switch(gameStage){
    5162                    case CHOOSE_PROVINCE_STAGE:
    5263                    {   
     
    107118                        break;
    108119                    }
     120
     121                    default: break;
    109122                }
    110123            }
Note: See TracChangeset for help on using the changeset viewer.