fixed jittering of character on round end

This commit is contained in:
Magnus Auvinen 2007-11-27 06:54:27 +00:00
parent b36dee3ec0
commit 9a8c0809c7

View file

@ -1296,10 +1296,16 @@ static void render_player(
if(info.local && config.cl_predict) if(info.local && config.cl_predict)
{ {
// apply predicted results if(!local_character || (local_character->health < 0) || (gameobj && gameobj->game_over))
predicted_player.write(&player); {
predicted_prev_player.write(&prev); }
intratick = client_intrapredtick(); else
{
// apply predicted results
predicted_player.write(&player);
predicted_prev_player.write(&prev);
intratick = client_intrapredtick();
}
} }
// TODO: proper skin selection // TODO: proper skin selection