Update for PRC8 parity
Update for PRC8 parity. Full compile.
This commit is contained in:
@@ -56,7 +56,7 @@ void main()
|
||||
int nAmount = nBaseAmount + FloatToInt(fExtraPerLevel * nLevel);
|
||||
|
||||
object oTmpItem = CreateItemOnObject(sResRef, OBJECT_SELF);
|
||||
int nPrice = max(GetGoldPieceValue(oTmpItem), 1) * nAmount;
|
||||
int nPrice = PRCMax(GetGoldPieceValue(oTmpItem), 1) * nAmount;
|
||||
if (sResRef == "GOLD")
|
||||
nPrice = 10*nAmount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user