mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-30 21:11:00 +00:00
Allow player-count modifiers in Battle
This commit is contained in:
parent
922f80b22f
commit
24a32c2f51
1 changed files with 1 additions and 2 deletions
|
@ -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 \
|
||||
|
||||
|
|
Loading…
Reference in a new issue