ArcanePariah / Night-of-the-Dead

9 stars 14 forks source link

Made recons reaper drone inventory behave same way as marines inventory when picking up ammo. #253

Closed NiktosNOTD closed 6 years ago

NiktosNOTD commented 6 years ago

inventory_why

Previously reaper drone had problems with picking up ammo into ammo box when it's 2 inventory slots were occupied.

After comparing it to regular marine inventory I noticed the invisible 'magazine' only slot that marines have.

Changes: -Added invisible 'magazine' only slot to inventory of reaper drone. -Adjusted triggers responsible for stacking/sorting magazines in inventory so they now treat reaper drone properly like it's own entity => it's changes to 'GetInventorySlots' function