diff --git a/GameVersion.cpp b/GameVersion.cpp index c2ffa430..a3932adc 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - INT16 zVersionLabel[256] = { L"Release v1.13.162" }; + INT16 zVersionLabel[256] = { L"Release v1.13.164" }; #endif diff --git a/Tactical/Inventory Choosing.cpp b/Tactical/Inventory Choosing.cpp index e087ac0f..b59ef366 100644 --- a/Tactical/Inventory Choosing.cpp +++ b/Tactical/Inventory Choosing.cpp @@ -670,7 +670,40 @@ void ChooseWeaponForSoldierCreateStruct( SOLDIERCREATE_STRUCT *pp, INT8 bWeaponC { usAttachIndex = PickARandomAttachment(ATTACHMENTS,usGunIndex,bAttachClass,FALSE); - if ( usScopeIndex > 0 ) + if ( Item[usGunIndex].defaultattachment > 0 ) + { + //check for incompatibilities + for(i = 0;i 0 ) + { + //check for incompatibilities w/scope + for(i = 0;i 0 ) { //check for incompatibilities with scope for(i = 0;i