- fixed some reporting stuff for Blood.

This commit is contained in:
Christoph Oelckers 2020-04-01 22:34:49 +02:00
parent 55922933bb
commit a7caa7b63c
3 changed files with 2 additions and 3 deletions

View file

@ -560,7 +560,7 @@ void StartLevel(GAMEOPTIONS *gameOptions)
char levelName[BMAX_PATH];
currentLevel = &mapList[gGameOptions.nEpisode * kMaxLevels + gGameOptions.nLevel];
SECRET_SetMapName(currentLevel->DisplayName(), currentLevel->name);
STAT_NewLevel(gameOptions->zLevelName);
STAT_NewLevel(currentLevel->fileName);
G_LoadMapHack(levelName, gameOptions->zLevelName);
wsrand(gameOptions->uMapCRC);
gKillMgr.Clear();

View file

@ -100,7 +100,6 @@ void levelInitINI(const char *pzIni);
void levelOverrideINI(const char *pzIni);
void levelPlayIntroScene(int nEpisode);
void levelPlayEndScene(int nEpisode);
void levelClearSecrets(void);
void levelSetupSecret(int nCount);
void levelTriggerSecret(int nSecret);
void CheckSectionAbend(const char *pzSection);

View file

@ -1203,7 +1203,7 @@ void viewDrawStats(PLAYER *pPlayer, int x, int y)
GameStats GameInterface::getStats()
{
return { gKillMgr.at4, gKillMgr.at0, gSecretMgr.at8, gSecretMgr.at0, gLevelTime / kTicsPerSec, gPlayer[myconnectindex].fragCount };
return { gKillMgr.at4, gKillMgr.at0, gSecretMgr.at4, gSecretMgr.at0, gLevelTime / kTicsPerSec, gPlayer[myconnectindex].fragCount };
}
#define kSBarNumberHealth 9220