Quote:

i'm afraid i found a bug with c_trace and tex_flag:


Indeed you have.
Tex_Flag1..8 are not updated by SCAN_TEXTURE they way they should be. The next public beta will have that fixed.