mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 04:41:16 +00:00
Merge pull request #87 from tyleryoung88/main
[SERVER] Reset zombie skins on death, and set dog skin to 0
This commit is contained in:
commit
3c5bc562b9
2 changed files with 2 additions and 0 deletions
|
@ -360,6 +360,7 @@ void(entity where) spawn_a_dogB =
|
||||||
sdog.enemy = Dog_FindEnemy();
|
sdog.enemy = Dog_FindEnemy();
|
||||||
|
|
||||||
sdog.electro_targeted = 0;
|
sdog.electro_targeted = 0;
|
||||||
|
sdog.skin = 0;
|
||||||
|
|
||||||
SetZombieWalk(sdog);
|
SetZombieWalk(sdog);
|
||||||
|
|
||||||
|
|
|
@ -1185,6 +1185,7 @@ void(entity ent) Zombie_Death_Cleanup = {
|
||||||
|
|
||||||
ent.health = 0;
|
ent.health = 0;
|
||||||
ent.respawn_iterator = 0;
|
ent.respawn_iterator = 0;
|
||||||
|
ent.skin = 0;
|
||||||
Remaining_Zombies = Remaining_Zombies - 1;
|
Remaining_Zombies = Remaining_Zombies - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue