while(mouse_mode)
{
mouse_pos.x = pointer.x;
mouse_pos.y = pointer.y;
mouse_pos.x = clamp(mouse_pos.x,0,screen_size.x - bmap_width(crosshair_map));
}
wait(1);

put the wait there, i think.


Why does everyone like dolphins? Never trust a species which smiles all the time!