View Single Post
Re: v_angle.y is always 0 ???
Old
  (#6)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default Re: v_angle.y is always 0 ??? - 24-02-2005

Its better to use %f than casting...
Otherwise you can try c++ style casting:
Code:
 LOG_CONSOLE(PLID, "v_angle= %d\n",static_cast<int>(serverEntity->v.v_angle.y));
  
Reply With Quote