mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge branch 'fix-ring-drain' into 'master'
Fix negative ring count in (460) Award Rings not actually subtracting rings See merge request KartKrew/Kart!1355
This commit is contained in:
commit
3cf2b27b11
1 changed files with 2 additions and 0 deletions
|
|
@ -4205,6 +4205,8 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha
|
||||||
if (mo->player->rings <= 0)
|
if (mo->player->rings <= 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
rings = -(rings);
|
||||||
|
|
||||||
if (rings > mo->player->rings)
|
if (rings > mo->player->rings)
|
||||||
rings = mo->player->rings;
|
rings = mo->player->rings;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue