- connect SW with statistics code and added missing function for Blood

# Conflicts:
#	source/blood/src/blood.h
#	source/common/menu/messagebox.cpp
#	source/sw/src/game.cpp
#	source/sw/src/game.h
This commit is contained in:
Christoph Oelckers 2019-12-09 00:55:30 +01:00
parent 4ef9ec6708
commit 66218dd074
8 changed files with 47 additions and 25 deletions

View file

@ -755,7 +755,7 @@ FString GameInterface::statFPS()
GameStats GameInterface::getStats()
{
DukePlayer_t* p = g_player[myconnectindex].ps;
return { p->actors_killed, p->max_actors_killed, p->secret_rooms, p->max_secret_rooms, p->player_par / REALGAMETICSPERSEC };
return { p->actors_killed, p->max_actors_killed, p->secret_rooms, p->max_secret_rooms, p->player_par / REALGAMETICSPERSEC, p->frag };
}
#undef FPS_COLOR