mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 19:21:44 +00:00
- fixed kill counting in Blood.
This commit is contained in:
parent
87ff99caa1
commit
629dc8e163
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