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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user