realized i had returned the wrong value

This commit is contained in:
jenz 2024-12-13 18:48:30 +01:00
parent 622f055faa
commit 2abc67625c

View File

@ -1028,7 +1028,7 @@ int ValFile(int iRead[sizeof(g_iVal)])
if (iRead[21] == 42 && iRead[24] > 1)
{
LogMessage("blocked spray with madness option.");
return -1;
return 21; //should not return -1, should return the iRead value probably.
}
if( iRead[0] == 82 && iRead[1] == 73 && iRead[2] == 70 && iRead[3] == 70 && iRead[8] == 87 && iRead[9] == 65 && iRead[10] == 86 && iRead[11] == 69 )
{