XycaleTh Posted December 24, 2006 Share Posted December 24, 2006 Hi, Well I've just compiled cgame, and now the camera in-game sort of lags behind when im moving forward. I've done a quick search at these forums, but it doesn't look like anyone else has had the same problem The only changes I've made are bugfixes found here. I remember getting this same problem when i compiled a DLL for the JK2 cgame too. Help would be nice and thanks in advance. edit: cg_thirdpersoncamperadamp is on default as well (0.3) Link to comment Share on other sites More sharing options...
ensiform Posted December 24, 2006 Share Posted December 24, 2006 are you using the universal source? Link to comment Share on other sites More sharing options...
XycaleTh Posted December 24, 2006 Author Share Posted December 24, 2006 Nope, I couldn't find it... edit: forget i said that i tried the same link again today, and the link works now (wasn't working yesterday). I'll post back later with my result... edit2: right, ive just compiled the universal source, and im still getting the same problem... Link to comment Share on other sites More sharing options...
ensiform Posted December 24, 2006 Share Posted December 24, 2006 Do a find in files for powf in the source, you will probably find one or two in the q_ functions, should comment those out and stick this in cg_view.c: float FIXEDpowf ( float x, int y ) { float r = x; for ( y--; y>0; y-- ) r = r * r; return r; } Then, change the calls of powf in cg_view.c to FIXEDpowf. Link to comment Share on other sites More sharing options...
XycaleTh Posted December 24, 2006 Author Share Posted December 24, 2006 thanks, that did the trick! Link to comment Share on other sites More sharing options...
stubert Posted December 25, 2006 Share Posted December 25, 2006 i made that fix Link to comment Share on other sites More sharing options...
dumbledore Posted December 25, 2006 Share Posted December 25, 2006 thx 4 the info Link to comment Share on other sites More sharing options...
razorace Posted December 27, 2006 Share Posted December 27, 2006 The powf in the universal source is broken? Link to comment Share on other sites More sharing options...
ensiform Posted December 27, 2006 Share Posted December 27, 2006 when compiling with vs 2003 or 2005 it is, because the function already exists in the precompiled headers with the app, and the code tries to declare it or something. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.