diff --git a/src/m_cheat.c b/src/m_cheat.c index 6524517495074e1fd022850d87666077aea094b2..0937e40fe7ed819dc4bf0e4458c0c595d265e42e 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 }