From 1c5080151da9f9bb390d08c5827012fbd3687ec1 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Wed, 29 Aug 2018 20:46:08 +0100 Subject: [PATCH] Fix typo introduced by changes to the setrings command --- src/m_cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_cheat.c b/src/m_cheat.c index 652451749..0937e40fe 100644 --- a/src/m_cheat.c +++ b/src/m_cheat.c @@ -890,7 +890,7 @@ void Command_Setrings_f(void) else { players[consoleplayer].spheres = 0; - P_GivePlayerSpheres(&player[consoleplayer], atoi(COM_Argv(1))); + P_GivePlayerSpheres(&players[consoleplayer], atoi(COM_Argv(1))); // no totalsphere addition to revert }