Remove unnecessary totalring deduction condition

Because it would be triggered by !(maptol & TOL_NIGHTS) in the old code anyway
This commit is contained in:
Digiku 2018-08-17 09:11:59 -04:00
parent 792360ea97
commit e943259057
1 changed files with 1 additions and 2 deletions

View File

@ -885,8 +885,7 @@ void Command_Setrings_f(void)
// P_GivePlayerRings does value clamping
players[consoleplayer].rings = 0;
P_GivePlayerRings(&players[consoleplayer], atoi(COM_Argv(1)));
if (!G_IsSpecialStage(gamemap))
players[consoleplayer].totalring -= atoi(COM_Argv(1)); //undo totalring addition done in P_GivePlayerRings
players[consoleplayer].totalring -= atoi(COM_Argv(1)); //undo totalring addition done in P_GivePlayerRings
}
else
{