Fix cv_mentalsonic too

This commit is contained in:
James R 2024-03-01 07:31:44 -08:00
parent fff200d174
commit b3ff71ad0f

View file

@ -164,7 +164,7 @@ static UINT8 cheatf_savetheframes(void)
static UINT8 cheatf_mentalsonic(void)
{
cv_mentalsonic.value = !(cv_mentalsonic.value);
CV_SetValue(&cv_mentalsonic, !cv_mentalsonic.value);
if (cv_mentalsonic.value)
{
S_StartSound(NULL, sfx_gshbb);