hitfreeze in player.cpp