https://gitlab.synchro.net/main/sbbs/-/commit/20ee355e1ffa64d0d3ce4d72
Modified Files:
src/sbbs3/exec.cpp
Log Message:
Baja SETLOGIC: sign-extend the operand
The operand byte was read through an unsigned pointer, so LESS/FALSE
(-1, compiled as 0xFF) set the logic state to 255. IF_TRUE and IF_FALSE
only test for LOGIC_TRUE, so SETLOGIC FALSE behaved, but IF_LESS and IF_LESS_OR_EQUAL never matched after SETLOGIC LESS (or FALSE).
No stock module, current or past, depends on either behavior.
From 7e3e47141a5 (2000-10-10).
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>