mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-27 18:24:40 +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)
|
||||
return false;
|
||||
|
||||
rings = -(rings);
|
||||
|
||||
if (rings > mo->player->rings)
|
||||
rings = mo->player->rings;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue