From 974306fa126c189cf5eab376e6affc265c760eaa Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 18 Jan 2025 16:11:51 +0900 Subject: [PATCH] [gamesource] Correct columns for bitops bitnot doesn't use operand b so its columns needs to be 0, not 1. --- libs/gamecode/opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gamecode/opcodes.py b/libs/gamecode/opcodes.py index 0b7238aad..70467a938 100644 --- a/libs/gamecode/opcodes.py +++ b/libs/gamecode/opcodes.py @@ -116,7 +116,7 @@ bitops_formats = { "opname": "{op_bit[oo]}", "format": "{bit_fmt[oo]}", "widths": "{ss+1}, { oo < 3 and ss+1 or 0}, {ss+1}", - "columns": "1, 1, 1", + "columns": "1, { oo < 3 and ss+1 or 0}, 1", "types": "{bit_types[t]}, {oo < 3 and bit_types[t] or 'ev_invalid'}, {bit_types[t]}", "args": { "op_bit": ["bitand", "bitor", "bitxor", "bitnot"],