View Single Post
Old 08-24-2006, 08:18 PM   #101
dumbledore
Rookie
 
Join Date: Nov 2005
Posts: 85
there seems to be a bug in interpolation on playback of demos recorded from a localhost server (created through the create game ui option). if you watch one of these demos, especially in lower timescale, the motion seems jerky compared to normal remote-server demos. i've found this fix for it:

cg_snapshot.c function CG_ReadNextSnapshot
find the line
Code:
// FIXME: why would trap_GetSnapshot return a snapshot with the same server time
and change it to
Code:
// FIXME: why would trap_GetSnapshot return a snapshot with the same server time
		if ( cg.snap && r && dest->serverTime == cg.snap->serverTime ) {
			// because we're playing back demos taken by local servers apparently :O
			if ( cg.demoPlayback ) continue;
			//continue;
		}
dumbledore is offline   you may: quote & reply,