mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 07:21:54 +00:00
- fixed kill counting in Blood.
This commit is contained in:
parent
5e4dc64fa5
commit
6a5d548019
2 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue