Mass: fix a condition.
This commit is contained in:
parent
d9f6470dc6
commit
ddad6536c6
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ void Mass::getBulletLauncherAttachments() {
|
|||
return;
|
||||
}
|
||||
|
||||
if(attach_array->items.size() != _weapons.bulletLaunchers.size() &&
|
||||
attach_array->items.size() != _armour.blAttachment.size())
|
||||
if(attach_array->items.size() == _weapons.bulletLaunchers.size() &&
|
||||
attach_array->items.size() == _armour.blAttachment.size())
|
||||
{
|
||||
for(UnsignedInt i = 0; i < attach_array->items.size(); i++) {
|
||||
auto attachment_prop = attach_array->at<GenericStructProperty>(i);
|
||||
|
|
Loading…
Reference in a new issue