File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
GeneralsMD/Code/GameEngine/Include/GameLogic Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ class WeaponSet : public Snapshot
232232 const Weapon* findAmmoPipShowingWeapon () const ;
233233 void weaponSetOnWeaponBonusChange (const Object *source);
234234 UnsignedInt getMostPercentReadyToFireAnyWeapon () const ;
235- inline UnsignedInt getNthCommandSourceMask ( WeaponSlotType n ) const { return m_curWeaponTemplateSet ? m_curWeaponTemplateSet->getNthCommandSourceMask ( n ) : nullptr ; }
235+ inline UnsignedInt getNthCommandSourceMask ( WeaponSlotType n ) const { return m_curWeaponTemplateSet ? m_curWeaponTemplateSet->getNthCommandSourceMask ( n ) : 0 ; }
236236
237237 Bool setWeaponLock ( WeaponSlotType weaponSlot, WeaponLockType lockType );
238238 void releaseWeaponLock (WeaponLockType lockType);
You can’t perform that action at this time.
0 commit comments