2025/12/10 Update

Fixed some corrupt spell components UTIs
Updated several scripts fixing not-quite bugs that choke nwn_script_comp.
Updated PRC8 version.
Re-enabled erroneously disabled Pale Master marker feat.
Updated Tester module.
This commit is contained in:
Jaysyn904
2025-12-10 22:48:43 -05:00
parent 54386fc90c
commit 24e69c926c
21 changed files with 40 additions and 43 deletions

View File

@@ -328,9 +328,12 @@ void SecondaryTargetsCheck(object oManifester, object oMainTarget, int nSecondar
// Store the target in the secondary target array
array_set_object(oManifester, SECONDARY_TARGETS_ARRAY, i, oTest);
// Find next empty slot
while(array_get_object(oManifester, SECONDARY_TARGETS_ARRAY, ++i) != OBJECT_INVALID)
;
// Find next empty slot
while(i < nSecondaryTargets &&
array_get_object(oManifester, SECONDARY_TARGETS_ARRAY, ++i) != OBJECT_INVALID)
{
// Continue searching
}
}
// Get next potential target