diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 8f4c59ac8..bb966e6f0 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -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(); diff --git a/source/blood/src/levels.h b/source/blood/src/levels.h index 190419bce..70d54bc41 100644 --- a/source/blood/src/levels.h +++ b/source/blood/src/levels.h @@ -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); diff --git a/source/blood/src/view.cpp b/source/blood/src/view.cpp index 1c11cafaa..c8205dd61 100644 --- a/source/blood/src/view.cpp +++ b/source/blood/src/view.cpp @@ -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