Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2006, 4:47:06 PM (19 years ago)
Author:
marcscha
Message:

little modifications to swarm launcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/player.cc

    r9975 r10023  
    1616#include "player.h"
    1717#include "playable.h"
     18#include "space_ships/space_ship.h"
    1819
    1920#include "event_handler.h"
     
    7475    this->playable = playable;
    7576    this->_hud.setEnergyWidget(this->playable->getHealthWidget());
    76     this->_hud.setWeaponManager(&this->playable->getWeaponManager());
     77    /*if (dynamic_cast<SpaceShip*>(this->playable))
     78      this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary());
     79    else*/
     80      this->_hud.setWeaponManager(&this->playable->getWeaponManager());
    7781
    7882    this->playable->setPlayer(this);
Note: See TracChangeset for help on using the changeset viewer.