Zero-K
Zero-K copied to clipboard
Check 5-param area commands
I've always wrote code with the assumption that commands with an area-variant such as reclaim or rez will have 1 param if they're unit-targeted and >= 4 params if they're area-targeted. But it turns out that a 5-param command is also single-targeted (with the extra args being leash xyz + radius). It doesn't seem to apply universally yet but there's an engine PR to add this to repair, and it would make sense for it to become consistent if it isn't already. I should check all of my gameside code for whether this breaks anything.