Update for PRC8 parity

Update for PRC8 parity.  Full compile.
This commit is contained in:
Jaysyn904
2025-02-08 14:10:00 -05:00
parent 445bed95fa
commit 00d2c183e8
25 changed files with 25 additions and 25 deletions

View File

@@ -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;