Fixed DivideLoot() bug

Fixed DivideLoot() bug from GetNumberPartyMembers() finally getting fixed.  Updated classes.2da  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-03-11 15:04:14 -04:00
parent 085d89719d
commit db6c871708
17 changed files with 16 additions and 286 deletions

View File

@@ -50,10 +50,7 @@ object oPC = GetLastClosedBy();
oTarget = OBJECT_SELF;
object oItem = GetFirstItemInInventory(oTarget);
//Not sure if they fixed the error or not (usually it shoudl be -1)
//This function may return 3 if two players are in the party or
//it may return 2 if just one player is in the party, needs to be tested
int nMembers = GetNumberPartyMembers(oPC);
int nMembers = GetNumberPartyMembers(oPC);
//if not a pc stop
if (!GetIsPC(oPC)) return;