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

i have a normal block with flag1 set on at each surface.
i scan the texture with this code:

Code:
result=c_trace(player.x, vector(player.x, player.y, player.z+300), ignore_models+ignore_sprites+scan_texture);
if(result>0)
{
beep;
str_cpy(debugstr, tex_name);
debug=1*tex_flag1+2*tex_flag2;
}



i can hear the 'beep' and i can see the name of the texture (Brickdark)
this code gets executed every frame, and if result<=0, debug and debugstr are resetted.
So i can say for sure that the texture gets scanned. But the debug-variable (debug=1*tex_flag1+2*tex_flag2;) is always 0.


- A6.40.2 pro


- A6pro 6.40.5