diff --git a/source/games/blood/src/endgame.cpp b/source/games/blood/src/endgame.cpp index aed2f69e3..45d1db488 100644 --- a/source/games/blood/src/endgame.cpp +++ b/source/games/blood/src/endgame.cpp @@ -79,6 +79,12 @@ void CKillMgr::AddKill(DBloodActor* actor) Kills++; } +void CKillMgr::AddKillCount(DBloodActor* actor) +{ + if (actor->spr.statnum == kStatDude && actor->spr.type != kDudeBat && actor->spr.type != kDudeRat && actor->spr.type != kDudeInnocent && actor->spr.type != kDudeBurningInnocent) + TotalKills++; +} + void CKillMgr::CountTotalKills(void) { TotalKills = 0; diff --git a/source/games/blood/src/endgame.h b/source/games/blood/src/endgame.h index 8fbf108ad..25d532b55 100644 --- a/source/games/blood/src/endgame.h +++ b/source/games/blood/src/endgame.h @@ -31,6 +31,7 @@ public: int TotalKills, Kills; void SetCount(int); void AddKill(DBloodActor* actor); + void AddKillCount(DBloodActor* actor); void CountTotalKills(void); void Clear(void); };