do not write player file each time lifetime stats change to prevent hickups on killing

This commit is contained in:
zicodxx 2012-06-08 23:13:33 +02:00
parent 2055192b67
commit edf56169ab
2 changed files with 1 additions and 3 deletions

View file

@ -5,6 +5,7 @@ D2X-Rebirth Changelog
main/multi.c, main/object.c: cleanly decide it to drop a hoard orb depending on wether we were killed by ourselves, en enemy or team-mate without any ugly and unreliable hacks
main/kconfig.c: Switching keyboard sensitivity function from variable increase to variable offset, making the ship more responsive in higher settings
math/vecmat.c: in vms_matrix_from_quaternion put the definition of tmp1 and tmp2 variables at the beginning of the functions because i was a baaaad boy
main/multi.c: do not write player file each time lifetime stats change to prevent hickups on killing
20120601
--------

View file

@ -4701,7 +4701,6 @@ void multi_add_lifetime_kills ()
Netgame.players[Player_num].rank=GetMyNetRanking();
}
}
write_player_file();
}
void multi_add_lifetime_killed ()
@ -4727,8 +4726,6 @@ void multi_add_lifetime_killed ()
HUD_init_message(HM_MULTI, "You have been demoted to %s!",RankStrings[GetMyNetRanking()]);
}
write_player_file();
}
void multi_send_ranking ()