mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 05:11:05 +00:00
[SERVER] Reset zombie skins on death, and set dog skin to 0
This commit is contained in:
parent
a2d3748ff6
commit
310a246157
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