Allow player-count modifiers in Battle

This commit is contained in:
TehRealSalt 2019-01-12 04:31:35 -05:00
parent 922f80b22f
commit 24a32c2f51
1 changed files with 1 additions and 2 deletions

View File

@ -649,8 +649,7 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed)
#define POWERITEMODDS(odds) \
if (franticitems) \
odds <<= 1; \
if (!G_BattleGametype()) \
odds = FixedMul(odds<<FRACBITS, FRACUNIT + ((8-pingame) * (FRACUNIT/25))) >> FRACBITS; \
odds = FixedMul(odds<<FRACBITS, FRACUNIT + ((8-pingame) * (FRACUNIT/25))) >> FRACBITS; \
if (mashed > 0) \
odds = FixedDiv(odds<<FRACBITS, FRACUNIT + mashed) >> FRACBITS \