CMPD officer didn't break law in standoff shooting