Fixed DivideLoot() bug
Fixed DivideLoot() bug from GetNumberPartyMembers() finally getting fixed. Updated classes.2da Full compile. Updated release archive.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user