Fix spurious prints of deactivate

This commit is contained in:
jl777
2019-07-18 03:04:20 -11:00
parent 6656270d0b
commit bf40254a7e

View File

@@ -1769,6 +1769,8 @@ void komodo_args(char *argv0)
{
int32_t ecode = ccEnablesHeight[i];
int32_t ht = ccEnablesHeight[i+1];
if ( i > 1 && ccEnablesHeight[i-2] == ecode )
break;
if ( ecode > 255 || ecode < 0 )
fprintf(stderr, "ac_ccactivateht: invalid evalcode.%i must be between 0 and 256.\n", ecode);
else if ( ht > 0 )