Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2015, 10:31:23 AM (9 years ago)
Author:
gania
Message:

little fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc

    r10913 r10915  
    7474   
    7575        SUPER(SectionController, tick, dt);
    76         if (this->timeOffset_ >= 0.5f && this->timeOffset_ <= 1.0f && !this->bActionCalled_)
     76        if (this->timeOffset_ > 0.8f && this->timeOffset_ <= 1.6f && !this->bActionCalled_)
    7777        {
    7878            this->action();
    7979            this->bActionCalled_ = true;
    8080        }
    81         if (this->timeOffset_ > 1.5f)
     81        if (this->timeOffset_ > 2.0f)
    8282        {
    8383            this->bActionCalled_ = false;
    8484        }
     85
    8586    }
    8687
     
    154155            }
    155156        }
     157
    156158        this->actionCounter_ += this->actionCounter_ < 100000 ? 1 : -this->actionCounter_ ;
    157159    }
     
    294296        return 0;
    295297    }
     298
    296299    bool SectionController::setWingman(ActionpointController* newWingman)
    297300    {
Note: See TracChangeset for help on using the changeset viewer.