Merge pull request #87 from tyleryoung88/main

[SERVER] Reset zombie skins on death, and set dog skin to 0
This commit is contained in:
cypress 2024-09-01 12:30:33 -07:00 committed by GitHub
commit 3c5bc562b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -360,6 +360,7 @@ void(entity where) spawn_a_dogB =
sdog.enemy = Dog_FindEnemy();
sdog.electro_targeted = 0;
sdog.skin = 0;
SetZombieWalk(sdog);

View file

@ -1185,6 +1185,7 @@ void(entity ent) Zombie_Death_Cleanup = {
ent.health = 0;
ent.respawn_iterator = 0;
ent.skin = 0;
Remaining_Zombies = Remaining_Zombies - 1;
}