Fixed some bugs with fx_d.
Fixed player bugs.