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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(attach_array->items.size() != _weapons.bulletLaunchers.size() &&
|
if(attach_array->items.size() == _weapons.bulletLaunchers.size() &&
|
||||||
attach_array->items.size() != _armour.blAttachment.size())
|
attach_array->items.size() == _armour.blAttachment.size())
|
||||||
{
|
{
|
||||||
for(UnsignedInt i = 0; i < attach_array->items.size(); i++) {
|
for(UnsignedInt i = 0; i < attach_array->items.size(); i++) {
|
||||||
auto attachment_prop = attach_array->at<GenericStructProperty>(i);
|
auto attachment_prop = attach_array->at<GenericStructProperty>(i);
|
||||||
|
|
Loading…
Reference in a new issue