Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2007, 3:13:28 AM (17 years ago)
Author:
patrick
Message:

mounting weapon slots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon_slot.cc

    r10440 r10534  
    2323
    2424ObjectListDefinition(WeaponSlot);
     25CREATE_FACTORY(WeaponSlot);
     26
    2527
    2628
     
    5153  LoadParam(root, "WeaponClass", this, WeaponSlot, setWeaponClass)
    5254  .describe("Sets the class this mount points should host");
     55
     56  LoadParam(root, "slot", this, WeaponSlot, setWeaponConfig)
     57      .describe("sets the weapon slot");
    5358}
    5459
Note: See TracChangeset for help on using the changeset viewer.