Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2007, 6:02:47 PM (17 years ago)
Author:
nicolasc
Message:

crosshair moves, shot do too, but not exactly where they should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/weapon_manager.h

    r10714 r10719  
    8686
    8787    inline void addWeaponToSlot(int config, int slot, const std::string& weaponName){
    88       this->addWeapon( Weapon::createWeapon( weaponName ), config, slot); };
     88      this->addWeapon( Weapon::createWeapon( weaponName ), config, slot); this->configs[config][slot]->setDefaultTarget(this->getFixedTarget()); };
    8989
    9090
Note: See TracChangeset for help on using the changeset viewer.