Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2015, 10:16:31 AM (8 years ago)
Author:
gania
Message:

fixed a bug in DivisionController, made action transitions smoother

File:
1 edited

Legend:

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

    r10881 r10882  
    117117        {
    118118            this->myFollower_ = newFollower;
     119            if (this->hasWingman())
     120            {
     121                this->myWingman_->takeActionpoints (std::vector<Point>(), std::vector<Point>(), false);
     122            }
    119123            return true;
    120124        }
     
    135139        if (this->myFollower_)
    136140            return true;
    137         else
    138             return false;
     141       
     142        return false;
    139143    }
    140144}
Note: See TracChangeset for help on using the changeset viewer.