Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2012, 11:02:55 PM (11 years ago)
Author:
jo
Message:

I fixed the console command. A console command has to be a static function. I used the same workaround as in NewHumanController to bypass the static behaviour of the concerning functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceNavigation/src/modules/overlays/hud/HUDNavigation.h

    r9468 r9471  
    7171                { return this->markerLimit_; }
    7272
    73             void selectClosestTarget();
    74             void selectNextTarget();
     73            static void selectClosestTarget();
     74            static void selectNextTarget();
    7575
    7676        private:
     
    132132            static const float LIGHTNING_GUN_SPEED_ = 700.0f;
    133133            static const float HSW01_SPEED_ = 2500.0f;
     134            static HUDNavigation* localHUD_s; //!< This is used as a filter to only influence the local HUD.
     135
    134136
    135137            float currentMunitionSpeed_;
Note: See TracChangeset for help on using the changeset viewer.